Adjusted Test Function
This commit is contained in:
parent
f7e3365116
commit
233d9682a3
@ -57,10 +57,15 @@ class Discord_Module(discord.Client):
|
||||
#print(str(message.id))
|
||||
#print(str(message.channel.id))
|
||||
if message.content == "//test":
|
||||
pass
|
||||
#await message.channel.send('test response')
|
||||
#pass
|
||||
await message.channel.send('test response')
|
||||
#test = self.get_channel(431129571308339210)
|
||||
#await test.send("testerino")
|
||||
temp = message.channel.last_message
|
||||
delayTime:float = 3
|
||||
await message.delete(delay=delayTime)
|
||||
await temp.delete(delay=delayTime)
|
||||
|
||||
|
||||
if not await self.isSenderBot(message):
|
||||
# This will check for the praxis_bot-tts channel and will TTS stuff from there.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user