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

Update bot.py, commands/author.py files

parent fc33af83
Branches
Tags
No related merge requests found
......@@ -416,11 +416,6 @@ async def issue(ctx):
gitlabembed = 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)")
await ctx.send(embed=gitlabembed)
@client.command(brief="Shows my author", description="Shows my author")
async def author(ctx):
authorembed = discord.Embed(description="My Author: \n<@!770218429096656917> ([Reviath#0001](https://discord.com/users/770218429096656917))", colour=discord.Colour.purple())
await ctx.send(embed = authorembed)
for filename in os.listdir('./cogs'):
if filename.endswith('.py'):
client.load_extension(f'cogs.{filename[:-3]}')
......
import discord
from discord.ext import commands
@commands.command(brief="Shows my author", description="Shows my author")
async def author(ctx):
authorembed = discord.Embed(description="My Author: \n<@!770218429096656917> ([Reviath#0001](https://discord.com/users/770218429096656917))", colour=discord.Colour.purple())
await ctx.send(embed = authorembed)
def setup(client):
client.add_command(author)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment