First official build of bot!
Co-authored-by: iakrules <64628083+iakrules@noreply.github.com>
This commit is contained in:
parent
953c89ead0
commit
2b8e2345f9
32 changed files with 1164 additions and 383 deletions
30
cogs/info/infoCog.py
Normal file
30
cogs/info/infoCog.py
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
class InfoCog(commands.Cog):
|
||||
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
|
||||
# Commands
|
||||
@commands.command(aliases=['botinfo'])
|
||||
async def info(self, ctx):
|
||||
embed = discord.Embed(
|
||||
title=f"Rutgers Esports Bot <:RutgersEsports:608498339192766505>",
|
||||
description=(
|
||||
f'Rutgers Esports Bot is the official Discord bot\n'
|
||||
'for handling all internal Rutgers Esports operations.\n\n'
|
||||
'🔗 Check out Rutgers Esports '
|
||||
'[here](https://linktr.ee/RutgersEsports).\n'
|
||||
'🤖 To add this bot to your server use '
|
||||
'[this link](https://bit.ly/rutgers-esports-bot).\n'
|
||||
"⭐ Star our repo on GitHub [here](https://github.com/rutgersesports/discord-bot)."
|
||||
),
|
||||
color=0xC94949
|
||||
)
|
||||
embed.set_thumbnail(url=ctx.bot.user.avatar_url)
|
||||
|
||||
await ctx.send(embed=embed)
|
||||
|
||||
def setup(bot):
|
||||
bot.add_cog(InfoCog(bot))
|
||||
Loading…
Add table
Add a link
Reference in a new issue