class名だめだったから修正

This commit is contained in:
suti7yk5032 2024-07-07 15:33:30 +09:00
parent 2ef4d639bf
commit f7f7033ea5

View file

@ -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'])