Post link to repo when someone uses source command
This commit is contained in:
parent
8a2b7f5964
commit
97c22a75c1
@ -267,6 +267,12 @@ async def on_message(message):
|
||||
embed=generate_embed(embed_url=get_from_reddit.get_image('smuganimegirls'))
|
||||
)
|
||||
|
||||
if message.content.startswith('!source'):
|
||||
await client.send_message(
|
||||
message.channel,
|
||||
"https://gitlab.com/ldooks/dragon-bot"
|
||||
)
|
||||
|
||||
if message.content.startswith('!purge'):
|
||||
num = 20
|
||||
if len(message.content.split()) > 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user