Add some comment
This commit is contained in:
parent
0a9420d156
commit
6074aa4d91
@ -152,6 +152,7 @@ class FjerkroaBot(commands.Bot):
|
|||||||
if response.staff is None:
|
if response.staff is None:
|
||||||
response.staff = f"User {message.user} try to hack the AI."
|
response.staff = f"User {message.user} try to hack the AI."
|
||||||
|
|
||||||
|
# If there is a staff message, send it to the staff channel, with typing indicators
|
||||||
if response.staff is not None and self.staff_channel is not None:
|
if response.staff is not None and self.staff_channel is not None:
|
||||||
async with self.staff_channel.typing():
|
async with self.staff_channel.typing():
|
||||||
await self.staff_channel.send(response.staff, suppress_embeds=True)
|
await self.staff_channel.send(response.staff, suppress_embeds=True)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user