Add files via upload
This commit is contained in:
parent
b5cec906c8
commit
d0f8639e0c
@ -1,4 +1,5 @@
|
|||||||
[config]
|
[config]
|
||||||
|
token = OTg2NDA4MjM3Njg5NjMwNzYx.Gn3sV3.af4MeWrAct-e6FyN6oDWt-QaOfOHuYBY97Vw7k
|
||||||
replytobot = false
|
replytobot = false
|
||||||
|
|
||||||
[modules]
|
[modules]
|
||||||
|
|||||||
@ -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')
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user