Spaces:
Sleeping
Sleeping
Rifat Azad commited on
Commit ·
90597fa
1
Parent(s): d9b3d3b
update
Browse files- pydvpl_bot.py +2 -2
pydvpl_bot.py
CHANGED
|
@@ -319,7 +319,7 @@ async def help(ctx):
|
|
| 319 |
embed.add_field(name="Dvpl Commands:", value="`compress` - Compresses files.\n`decompress` - Decompresses files.", inline=False)
|
| 320 |
embed.add_field(name="User Utility Commands:", value="`ping` - Checks the bot's latency.\n`invite` - Get the bot's invite link.\n`uptime` - Displays the bot's uptime.\n`clock` - Shows the current date and time.\n`chat` - Chat with ai llm models like 'phind', 'chatgpt' & 'blackboxai'.", inline=False)
|
| 321 |
embed.add_field(name="Premium User Commands:", value="`chat` - Chat with ai llm models like 'phind', 'chatgpt' & 'blackboxai'.\n`image` - Generate images with 'craiyon' ai.", inline=False)
|
| 322 |
-
embed.add_field(name="Moderator Commands:", value="`kick` - Kick a member from the server.\n`ban` - Ban a member from the server.\n`timeout` - Timeout a member for a specified duration.", inline=False)
|
| 323 |
embed.add_field(name="Admin Utility Commands:", value="`stats` - Displays bot statistics.\n`list` - Lists server members.\n`say` - Make the bot say something.\n`announce` - Announces a message to a channel.\n`activity` - Sets bot activity status.\n`online` - Sets bot status to online.\n`dnd` - Sets bot status to Do Not Disturb.\n`offline` - Sets bot status to offline.\n`clean` - Cleans up bot's messages.\n`update` - Update a Python package using pip.\n`ip` - Shows the ip address of the current server.", inline=False)
|
| 324 |
embed.add_field(name="Feedback Commands:", value="`feedback` - Sends feedback to bot developers. (usage: >>feedback issues/requests <message>)", inline=False)
|
| 325 |
|
|
@@ -1132,7 +1132,7 @@ async def timeout(ctx, member: discord.Member, duration: int, *, reason=None):
|
|
| 1132 |
# FUNCTION ------------------------------------------------------ SPLIT
|
| 1133 |
|
| 1134 |
|
| 1135 |
-
@bot.hybrid_command()
|
| 1136 |
async def purge(ctx, amount: int):
|
| 1137 |
|
| 1138 |
if isinstance(ctx.channel, discord.DMChannel):
|
|
|
|
| 319 |
embed.add_field(name="Dvpl Commands:", value="`compress` - Compresses files.\n`decompress` - Decompresses files.", inline=False)
|
| 320 |
embed.add_field(name="User Utility Commands:", value="`ping` - Checks the bot's latency.\n`invite` - Get the bot's invite link.\n`uptime` - Displays the bot's uptime.\n`clock` - Shows the current date and time.\n`chat` - Chat with ai llm models like 'phind', 'chatgpt' & 'blackboxai'.", inline=False)
|
| 321 |
embed.add_field(name="Premium User Commands:", value="`chat` - Chat with ai llm models like 'phind', 'chatgpt' & 'blackboxai'.\n`image` - Generate images with 'craiyon' ai.", inline=False)
|
| 322 |
+
embed.add_field(name="Moderator Commands:", value="`kick` - Kick a member from the server.\n`ban` - Ban a member from the server.\n`timeout` - Timeout a member for a specified duration.\n`purge` - Bulk deletes set amount of messages in guilds.", inline=False)
|
| 323 |
embed.add_field(name="Admin Utility Commands:", value="`stats` - Displays bot statistics.\n`list` - Lists server members.\n`say` - Make the bot say something.\n`announce` - Announces a message to a channel.\n`activity` - Sets bot activity status.\n`online` - Sets bot status to online.\n`dnd` - Sets bot status to Do Not Disturb.\n`offline` - Sets bot status to offline.\n`clean` - Cleans up bot's messages.\n`update` - Update a Python package using pip.\n`ip` - Shows the ip address of the current server.", inline=False)
|
| 324 |
embed.add_field(name="Feedback Commands:", value="`feedback` - Sends feedback to bot developers. (usage: >>feedback issues/requests <message>)", inline=False)
|
| 325 |
|
|
|
|
| 1132 |
# FUNCTION ------------------------------------------------------ SPLIT
|
| 1133 |
|
| 1134 |
|
| 1135 |
+
@bot.hybrid_command(help="Bulk deletes set amount of messages in guilds.")
|
| 1136 |
async def purge(ctx, amount: int):
|
| 1137 |
|
| 1138 |
if isinstance(ctx.channel, discord.DMChannel):
|