Add new command for source code
This commit is contained in:
@@ -51,6 +51,9 @@ async def ping(interaction: discord.Interaction):
|
|||||||
await interaction.response.send_message('go fuck yourself (bot is running)')
|
await interaction.response.send_message('go fuck yourself (bot is running)')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@client.tree.command()
|
||||||
|
async def source(interaction: discord.Interaction):
|
||||||
|
await interaction.response.send_message('Bot source code can be found [here.](https://git.contrastellar.com/contrastellar/very-bad-bot)')
|
||||||
|
|
||||||
@client.event
|
@client.event
|
||||||
async def on_reaction_add(react: discord.Reaction, user: discord.User):
|
async def on_reaction_add(react: discord.Reaction, user: discord.User):
|
||||||
|
|||||||
Reference in New Issue
Block a user