Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
MegumiKatou02 committed Nov 24, 2024
1 parent b4251b8 commit 41d1919
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion cogs/voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ async def on_voice_state_update(self, member, before, after):
category=after.channel.category,
overwrites={
guild.default_role: discord.PermissionOverwrite(connect=True),
# member: discord.PermissionOverwrite(connect=True),
},
reason=f"Kênh được tạo tự động cho {member.name}"
)
Expand Down
3 changes: 0 additions & 3 deletions message.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ async def on_message_event(message, bot):
response = random.choice(responses)
await message.channel.send(response)

# if not message.author.bot and message.content.lower().startswith('chinh bel bel nga sap duong'):
# await message.channel.send('Co m nga ay')

if not message.author.bot and re.search(r'\bbel bel nga sap duong\b$', message.content.lower()):
await message.channel.send('Co m nga ay')

Expand Down

0 comments on commit 41d1919

Please sign in to comment.