Adding oncall function

This commit is contained in:
Luke Robles 2022-09-26 11:48:56 -07:00
parent b64c67a98b
commit 69561de57d

View File

@ -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):