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

17 statements  

1 

2class Permisions(): 

3 def __init__(self): 

4 self.administrator = False 

5 

6 

7class User(): 

8 def __init__(self): 

9 self.id = "0" 

10 self.name = "Tester" 

11 self.discriminator = "1234" 

12 self.admin = False 

13 

14 def __str__(self): 

15 return f"{self.name}#{self.discriminator}" 

16 

17 def permmisions_in(self, *args, **kwargs): 

18 return Permisions() 

19 

20class Message(): 

21 def __init__(self): 

22 self.author = User() 

23 self.channel = "0"