Adding oncall function
This commit is contained in:
parent
6e29bfc1a2
commit
20e74ffd6a
@ -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