class名だめだったから修正
This commit is contained in:
parent
2ef4d639bf
commit
f7f7033ea5
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import string
|
||||||
import random
|
import random
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
class Dislocker():
|
class DL():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.config_dir_path = "./config/"
|
self.config_dir_path = "./config/"
|
||||||
self.export_dir_path = "./export/"
|
self.export_dir_path = "./export/"
|
||||||
|
@ -312,6 +312,6 @@ class Bot(discord.Client):
|
||||||
intents = discord.Intents.default()
|
intents = discord.Intents.default()
|
||||||
intents.message_content = True
|
intents.message_content = True
|
||||||
|
|
||||||
dislocker = Dislocker()
|
dislocker = DL()
|
||||||
bot = Bot(intents=intents)
|
bot = Bot(intents=intents)
|
||||||
bot.run(dislocker.server_config['bot']['token'])
|
bot.run(dislocker.server_config['bot']['token'])
|
||||||
|
|
Loading…
Reference in a new issue