Spaces:
Sleeping
Sleeping
Rifat Azad commited on
Commit ·
d9b3d3b
1
Parent(s): 0893492
update command type
Browse files- pydvpl_bot.py +1 -1
pydvpl_bot.py
CHANGED
|
@@ -1132,7 +1132,7 @@ async def timeout(ctx, member: discord.Member, duration: int, *, reason=None):
|
|
| 1132 |
# FUNCTION ------------------------------------------------------ SPLIT
|
| 1133 |
|
| 1134 |
|
| 1135 |
-
@bot.
|
| 1136 |
async def purge(ctx, amount: int):
|
| 1137 |
|
| 1138 |
if isinstance(ctx.channel, discord.DMChannel):
|
|
|
|
| 1132 |
# FUNCTION ------------------------------------------------------ SPLIT
|
| 1133 |
|
| 1134 |
|
| 1135 |
+
@bot.hybrid_command()
|
| 1136 |
async def purge(ctx, amount: int):
|
| 1137 |
|
| 1138 |
if isinstance(ctx.channel, discord.DMChannel):
|