use custom channel
This commit is contained in:
parent
52612824e6
commit
80168f0cb6
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ from utils.utils import load
|
|||
|
||||
class Bot(commands.Bot):
|
||||
def __init__(self):
|
||||
self.keys = load(["ACCESS_TOKEN", "PREFIX"])
|
||||
super().__init__(token=self.keys["ACCESS_TOKEN"], prefix=self.keys["PREFIX"], initial_channels=['mylloon'])
|
||||
self.keys = load(["ACCESS_TOKEN", "PREFIX", "CHANNEL"])
|
||||
super().__init__(token=self.keys["ACCESS_TOKEN"], prefix=self.keys["PREFIX"], initial_channels=[f'{self.keys["CHANNEL"]}'])
|
||||
|
||||
async def event_ready(self):
|
||||
print(f"Logged in as {self.nick}")
|
||||
|
|
Loading…
Reference in a new issue