mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
feat(baitbot): add idevice and melonx
This commit is contained in:
@@ -3,7 +3,7 @@ from discord.ext import commands
|
|||||||
from discord.ext.commands import Context
|
from discord.ext.commands import Context
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
# Make a pr to add your own server config here, you shouldn't need to touch the rest of the file
|
# Make a pr to add your own server config here, you shouldn't need to touch the rest of the file, please fill in all the values for your own server
|
||||||
BAIT_CONFIGS = {
|
BAIT_CONFIGS = {
|
||||||
"SideStore": {
|
"SideStore": {
|
||||||
"guild_id": 949183273383395328,
|
"guild_id": 949183273383395328,
|
||||||
@@ -24,6 +24,22 @@ BAIT_CONFIGS = {
|
|||||||
"protected_role_id": 1432165329483857940,
|
"protected_role_id": 1432165329483857940,
|
||||||
"log_channel_id": 1433987853184139365,
|
"log_channel_id": 1433987853184139365,
|
||||||
},
|
},
|
||||||
|
"idevice": {
|
||||||
|
"guild_id": 1329314147434758175,
|
||||||
|
"channel_ids": [
|
||||||
|
1434317669695492177,
|
||||||
|
],
|
||||||
|
"protected_role_id": 1333666918548111373,
|
||||||
|
"log_channel_id": 1333673259446571022,
|
||||||
|
},
|
||||||
|
"melonx": {
|
||||||
|
"guild_id": 1300369899704680479,
|
||||||
|
"channel_ids": [
|
||||||
|
1434327970679492830,
|
||||||
|
],
|
||||||
|
"protected_role_id": 1300372178138697758,
|
||||||
|
"log_channel_id": 1300374786471366696,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
BAN_REASON = 'Detected bot/scammer in bait channel'
|
BAN_REASON = 'Detected bot/scammer in bait channel'
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ class Help(commands.Cog, name="help"):
|
|||||||
interaction: discord.Interaction,
|
interaction: discord.Interaction,
|
||||||
current: str,
|
current: str,
|
||||||
) -> list[app_commands.Choice[str]]:
|
) -> list[app_commands.Choice[str]]:
|
||||||
categories = ["general", "fun", "moderation", "owner", "sidestore", "idevice", "melonx", "media", "miscellaneous", "utilities"]
|
categories = ["general", "fun", "moderation", "owner", "sidestore", "idevice", "melonx", "media", "miscellaneous", "utilities", "events"]
|
||||||
|
|
||||||
suggestions = []
|
suggestions = []
|
||||||
for category in categories:
|
for category in categories:
|
||||||
@@ -48,6 +48,7 @@ class Help(commands.Cog, name="help"):
|
|||||||
"sidestore": "sidestore",
|
"sidestore": "sidestore",
|
||||||
"utils": "utilities",
|
"utils": "utilities",
|
||||||
"utilities": "utilities",
|
"utilities": "utilities",
|
||||||
|
"events": "events",
|
||||||
|
|
||||||
"sync": "owner",
|
"sync": "owner",
|
||||||
"logs": "owner",
|
"logs": "owner",
|
||||||
@@ -69,7 +70,8 @@ class Help(commands.Cog, name="help"):
|
|||||||
"melonx": "MeloNX troubleshooting commands",
|
"melonx": "MeloNX troubleshooting commands",
|
||||||
"media": "Media commands",
|
"media": "Media commands",
|
||||||
"utilities": "Utility commands",
|
"utilities": "Utility commands",
|
||||||
"miscellaneous": "Miscellaneous commands"
|
"miscellaneous": "Miscellaneous commands",
|
||||||
|
"events": "Events commands"
|
||||||
}
|
}
|
||||||
|
|
||||||
if category is None:
|
if category is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user