Completed
Push — main ( e19468...44fb64 )
by Yohann
17s queued 12s
created

on_ready.OnReadyCog.on_ready()   A

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nop 1
1
from pincer import Client
2
3
4
class OnReadyCog:
5
    def __init(self, client: Client):
6
        self.client = client
7
8
    @Client.event
9
    async def on_ready(self):
10
        print(f"Started client on {self.client.bot}\n"
11
              "Registered commands: " + ", ".join(self.client.chat_commands))
12
13
14
setup = OnReadyCog
15