Closed Innectic closed 6 years ago
Good call! While you can use the following, target=True
would be far cleaner.
@Command.command()
async def thing(self, *, packet: "packet"):
return MessagePacket("Hi!", target=packet.user)
@Command.command(target=True)
async def thing(self):
return "Hi!"
Adding
target=True
to the@Command.command
decorator, should make the command whisper the response back, and delete the original message.