Adding oncall function
This commit is contained in:
parent
b64c67a98b
commit
69561de57d
@ -87,6 +87,14 @@ class ServerUtils(commands.Cog):
|
||||
)
|
||||
await ctx.send("Timed %s out for %s seconds" % (member.mention, time))
|
||||
|
||||
@commands.command(name="oncall")
|
||||
async def oncall(self, ctx: commands.Context):
|
||||
|
||||
await ctx.invoke(
|
||||
self.bot.get_command("timeout"), member=ctx.message.author, time="10s"
|
||||
)
|
||||
await ctx.reply("No u")
|
||||
|
||||
@commands.command(name="source")
|
||||
async def source(self, ctx: commands.Context):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user