Add files via upload

This commit is contained in:
ionburger 2022-08-24 17:36:40 -06:00 committed by GitHub
parent b5cec906c8
commit d0f8639e0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,5 @@
[config] [config]
token = OTg2NDA4MjM3Njg5NjMwNzYx.Gn3sV3.af4MeWrAct-e6FyN6oDWt-QaOfOHuYBY97Vw7k
replytobot = false replytobot = false
[modules] [modules]

View File

@ -5,14 +5,14 @@ import random
client = discord.Client() client = discord.Client()
avgtimelst = [] avgtimelst = []
#loading config files #loading config files
botconf = configparser.ConfigParser() botconf = configparser.ConfigParser()
botconf.read("bot.conf") botconf.read("bot.conf")
triggerbotconf = configparser.ConfigParser() triggerbotconf = configparser.ConfigParser()
triggerbotconf.read("triggerbot.conf") triggerbotconf.read("triggerbot.conf")
quotebotconf = configparser.ConfigParser() quotebotconf = configparser.ConfigParser()
quotebotconf.read("quotebot.config") quotebotconf.read("quotebot.conf")
#bot info #bot info
@ -50,7 +50,7 @@ async def on_message(message):
elif triggers[b] in msg: elif triggers[b] in msg:
print("balls") print("balls")
found = "true" found = "true"
await message.channel.send("hello") await message.channel.send(triggerbotconfig["replys"][""])
else: else:
print("something happened") print("something happened")
@ -67,5 +67,4 @@ async def on_message(message):
print("\n end client.event \n time: " + str(reventime) + "\n average time: " + avgtime) print("\n end client.event \n time: " + str(reventime) + "\n average time: " + avgtime)
client.run(botconf["config"]["token"])
client.run('OTg2NDA4MjM3Njg5NjMwNzYx.GZZchW.Aymv6QYXFPcvrT6YqBmJIhB_HKWZK1UOEKeIVo')