mirror of
https://git.sdf.org/tamservo/robottas.git
synced 2025-11-12 09:03:47 -05:00
Fixed issue with calling some commands (removed pass_filter)
This commit is contained in:
@@ -707,8 +707,6 @@ class Robottas(commands.Bot):
|
|||||||
# Setup commands
|
# Setup commands
|
||||||
@self.command()
|
@self.command()
|
||||||
async def rbhelp(ctx):
|
async def rbhelp(ctx):
|
||||||
if not self.passed_filter(ctx):
|
|
||||||
return
|
|
||||||
|
|
||||||
await ctx.send("commands: \n" +
|
await ctx.send("commands: \n" +
|
||||||
"!rbhelp - Print this help message " +
|
"!rbhelp - Print this help message " +
|
||||||
@@ -731,17 +729,13 @@ class Robottas(commands.Bot):
|
|||||||
|
|
||||||
@self.command()
|
@self.command()
|
||||||
async def rbroot(ctx):
|
async def rbroot(ctx):
|
||||||
if not self.passed_filter(ctx):
|
|
||||||
return
|
|
||||||
|
|
||||||
await ctx.send("Rooting for :ferry::peach: of course!\n" +
|
await ctx.send("Rooting for :ferry::peach: of course!\n" +
|
||||||
":BOT::smiling_face_with_3_hearts:")
|
self.name_dict["BOT"] + ":smiling_face_with_3_hearts:")
|
||||||
|
|
||||||
|
|
||||||
@self.command()
|
@self.command()
|
||||||
async def rbname(ctx):
|
async def rbname(ctx):
|
||||||
if not self.passed_filter(ctx):
|
|
||||||
return
|
|
||||||
|
|
||||||
await ctx.send("Hello, my name is Robottas, pronounced :robot::peach:")
|
await ctx.send("Hello, my name is Robottas, pronounced :robot::peach:")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user