Coverage for cmessage.py: 88%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
2class Permisions():
3 def __init__(self):
4 self.administrator = False
7class User():
8 def __init__(self):
9 self.id = "0"
10 self.name = "Tester"
11 self.discriminator = "1234"
12 self.admin = False
14 def __str__(self):
15 return f"{self.name}#{self.discriminator}"
17 def permmisions_in(self, *args, **kwargs):
18 return Permisions()
20class Message():
21 def __init__(self):
22 self.author = User()
23 self.channel = "0"