mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 22:47:04 +01:00
Merge pull request #70 from FoxIshDaBest/patch-1
Add invite and server commands
This commit is contained in:
commit
94d1e297e7
@ -32,3 +32,10 @@ class Commands():
|
|||||||
discriminator = int(content[2][content[2].find("#") + 1:]) if "#" in content[2] else None
|
discriminator = int(content[2][content[2].find("#") + 1:]) if "#" in content[2] else None
|
||||||
reason = await self.database.revoke_unauth_user_by_query(message.server.id, username, discriminator)
|
reason = await self.database.revoke_unauth_user_by_query(message.server.id, username, discriminator)
|
||||||
await self.client.send_message(message.channel, message.author.mention + " " + reason)
|
await self.client.send_message(message.channel, message.author.mention + " " + reason)
|
||||||
|
|
||||||
|
async def invite(self, message):
|
||||||
|
await self.client.send_message(message.channel, "You can invite Titan to your server by visiting this link: https://discordapp.com/oauth2/authorize?&client_id=299403260031139840&scope=bot&permissions=641195117")
|
||||||
|
|
||||||
|
async def server(self, message):
|
||||||
|
await self.client.send_message(message.channel, "Join the Titan Embeds Discord server! https://discord.gg/pFDDtcN")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user