mirror of
https://gitlab.com/ddorn/tfjm-discord-bot.git
synced 2025-07-08 07:30:20 +02:00
✨ send_and_bin utility
This commit is contained in:
@ -168,6 +168,12 @@ class DevCog(Cog, name="Dev tools"):
|
||||
|
||||
await ctx.send(str(jury_channel))
|
||||
|
||||
@command(name="send", hidden=True)
|
||||
@has_role(Role.DEV)
|
||||
async def send_cmd(self, ctx, *msg):
|
||||
await ctx.message.delete()
|
||||
await ctx.send(" ".join(msg))
|
||||
|
||||
|
||||
def setup(bot: Bot):
|
||||
bot.add_cog(DevCog(bot))
|
||||
|
Reference in New Issue
Block a user