mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
first test of secret channel
This commit is contained in:
+11
-1
@@ -46,6 +46,7 @@ class Events(commands.Cog):
|
||||
channel = None
|
||||
if message.author == self.bot.user:
|
||||
return
|
||||
|
||||
if isinstance(message.author, discord.Member):
|
||||
for role in message.author.roles:
|
||||
if role.name == "Vykidailo":
|
||||
@@ -67,8 +68,17 @@ class Events(commands.Cog):
|
||||
return
|
||||
if isinstance(message.channel, discord.DMChannel):
|
||||
if message.author.id == 346956223645614080:
|
||||
await message.reply("Witam witam")
|
||||
#hammer pisze dma
|
||||
member = self.bot.get_user(703985955312238664)
|
||||
channel = await member.create_dm()
|
||||
await channel.send(message.content)
|
||||
await message.reply(f"Poszlo do Saint {message.content}")
|
||||
return
|
||||
elif message.author.id == 703985955312238664:
|
||||
#saint pisze DMA
|
||||
await message.reply("Hejka Saint!")
|
||||
return
|
||||
|
||||
else:
|
||||
channel = self.bot.get_channel(1064888712565100614)
|
||||
await channel.send("Słyszałem ja żem że: " + message.content)
|
||||
|
||||
Reference in New Issue
Block a user