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]
token = OTg2NDA4MjM3Njg5NjMwNzYx.Gn3sV3.af4MeWrAct-e6FyN6oDWt-QaOfOHuYBY97Vw7k
replytobot = false
[modules]

View File

@ -5,14 +5,14 @@ import random
client = discord.Client()
avgtimelst = []
#loading config files
botconf = configparser.ConfigParser()
botconf.read("bot.conf")
triggerbotconf = configparser.ConfigParser()
triggerbotconf.read("triggerbot.conf")
quotebotconf = configparser.ConfigParser()
quotebotconf.read("quotebot.config")
quotebotconf.read("quotebot.conf")
#bot info
@ -50,7 +50,7 @@ async def on_message(message):
elif triggers[b] in msg:
print("balls")
found = "true"
await message.channel.send("hello")
await message.channel.send(triggerbotconfig["replys"][""])
else:
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)
client.run('OTg2NDA4MjM3Njg5NjMwNzYx.GZZchW.Aymv6QYXFPcvrT6YqBmJIhB_HKWZK1UOEKeIVo')
client.run(botconf["config"]["token"])