bail out of send command if its NOT my id
This commit is contained in:
parent
1a7ef19898
commit
aa7243e0d6
@ -100,7 +100,7 @@ class ServerUtils(commands.Cog):
|
|||||||
|
|
||||||
@commands.command(name="send")
|
@commands.command(name="send")
|
||||||
async def send(self, ctx, message):
|
async def send(self, ctx, message):
|
||||||
if ctx.message.author.id == core_utils.my_id:
|
if ctx.message.author.id != core_utils.my_id:
|
||||||
return
|
return
|
||||||
select = Select(
|
select = Select(
|
||||||
placeholder="Select a server to send a message to",
|
placeholder="Select a server to send a message to",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user