Skip to content
Snippets Groups Projects
Commit cf6c6ed9 authored by Reviath's avatar Reviath
Browse files

Added vote command.

parent 5204bad6
No related branches found
No related tags found
No related merge requests found
......@@ -414,9 +414,13 @@ async def eval_(ctx, *, command):
@client.command(brief="Allows you to create issue", description="Allows you to create issue")
async def issue(ctx):
issueembed = discord.Embed(colour=ctx.author.top_role.colour, description="[Click here to create issue on GitLab](https://git.randomchars.net/Reviath/sakuya-izayoi) \n[If you don't know how to use GitLab, you can come to our server and specify the problem.](https://discord.gg/Nvte7RYfqY)")
issueembed = discord.Embed(colour=ctx.author.top_role.colour, description="[Click here to create issue on GitLab](https://git.randomchars.net/Reviath/sakuya-izayoi) \n[If you don't know how to use GitLab, you can come to our server and specify the problem.](https://discord.gg/xqsTvtM2hk)")
await ctx.send(embed=issueembed)
@client.command(brief="Sends vote link.", description="Sends vote link.")
async def vote(ctx):
await ctx.send(embed=discord.Embed(colour=ctx.author.top_role.colour, description=f"[Click here!](https://top.gg/bot/{client.user.id}/vote) \nAlso if you vote, you will get a role in my [guild](https://discord.gg/Nvte7RYfqY)"))
for filename in os.listdir('./cogs'):
if filename.endswith('.py'):
client.load_extension(f'cogs.{filename[:-3]}')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment