Exemplo n.º 1
0
 def __init__(self, channel, author, message, user, client):
     self.channel = channel
     self.author = author
     self.user = user
     self.team_name = message
     self.guild = get_bits_server(client)
     self.api = Api()
Exemplo n.º 2
0
 def __init__(self, context: Context, client, user_id):
     super().__init__(context)
     i = 0
     for c in user_id:
         if c.isdigit():
             break
         else:
             i += 1
     self.user_id = int(user_id[i:-1])
     self.client = client
     self.guild = get_bits_server(self.client)
     self.author = get(self.guild.members, id=context.author.id)
Exemplo n.º 3
0
 def __init__(self, member, client):
     self.guild = get_bits_server(client)
     self.user = member
     self.api = Api()
Exemplo n.º 4
0
 def __init__(self, context: Context, email, client):
     super().__init__(context)
     self.email = email
     self.client = client
     self.guild = get_bits_server(self.client)
     self.author = get(self.guild.members, id=context.author.id)
Exemplo n.º 5
0
 def __init__(self, channel, author, client):
     self.channel = channel
     self.author = author
     self.guild = get_bits_server(client)
     self.api = Api()