Passed
Push — main ( 7f94b7...35cc1f )
by
unknown
05:16 queued 03:28
created

run.Bot.load_cogs()   A

Complexity

Conditions 2

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 2
nop 1
1
from pincer import Client
2
3
from cogs import OnReadyCog, SayCog, ErrorHandler
4
5
6
class Bot(Client):
7
    def __init__(self, *args, **kwargs):
8
        super().load_cogs(OnReadyCog, SayCog, ErrorHandler)
9
        super().__init__(*args, **kwargs)
10
11
12
if __name__ == "__main__":
13
    Bot("XXXYOURBOTTOKENHEREXXX").run()
14