Skip to content

Commit

Permalink
helpのコード(?)化&ぬるぽ追加&チャンネルIDコンフィグ化
Browse files Browse the repository at this point in the history
  • Loading branch information
Syunngiku0402 committed Dec 16, 2024
1 parent 4a64038 commit d594825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CommandLab.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async def on_message(message: discord.Message):
if message.author.id in client.owner_ids or []:
await client.process_commands(message)

if message.channel.id == 965095619838488576:
if message.channel.id == config.botcommand_channel_id:
if message.author.bot:
return

Expand Down
1 change: 1 addition & 0 deletions config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class Config(BaseModel):
mee6: MEe6
advertisement_channnel_id: int
admin_category_id: int
botcommand_channel_id: int

# -----------------------------------------------------------

Expand Down

0 comments on commit d594825

Please sign in to comment.