Discord Script Tweak
This commit is contained in:
parent
1438e5fbab
commit
a57ac29e72
@ -17,6 +17,7 @@ import credentials
|
||||
import discord
|
||||
import discord.message
|
||||
import discord.channel
|
||||
import discord.abc
|
||||
|
||||
from cooldowns import Cooldown_Module
|
||||
|
||||
@ -52,8 +53,13 @@ class Discord_Module(discord.Client):
|
||||
#print(str(message.id))
|
||||
#Channel ID
|
||||
#print(str(message.channel.id))
|
||||
if message.content == "//test":
|
||||
if message.content == "//testing":
|
||||
await message.channel.send('test response')
|
||||
#test = self.get_channel(431129571308339210)
|
||||
#await test.send("testerino")
|
||||
|
||||
|
||||
|
||||
|
||||
if not await self.isSenderBot(message):
|
||||
if self.cooldownModule.isCooldownActive("discordRateLimit") == False:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user