-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcog_info.py
30 lines (26 loc) · 1.28 KB
/
cog_info.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import discord
from discord.ext import commands
from utils import *
class Info():
def __init__(self, bot):
self.bot=bot
@commands.command(pass_context=True)
async def help(self, ctx):
embed = discord.Embed(title="Commands for Relic!",
color=ctx.message.author.color)
embed.add_field(name="Custom",
value="`custom create`, `custom delete`, `custom parameters`, `custom viewall`",
inline=False)
embed.add_field(name="Prefix", value="`prefix`, `prefix view`, `prefixset`",
inline=False)
embed.add_field(name="Tag", value="`tag create`, `tag delete`, `tag viewall`, `tag view`",
inline=False)
embed.add_field(name="NSFW", value="`ass`, `tits`, `nsfw channel (mention channel)`, `nsfw everyone (True or false)`, `nsfw view`",
inline=False)
embed.add_field(name="Blacklist",value="`blacklist add @(user)`, `blacklist remove @(user)`, `blacklist view`",
inline=False)
embed.set_footer(
text="Requested by " + ctx.message.author.display_name)
await self.bot.send_message(ctx.message.channel, embed=embed)
def setup(bot):
bot.add_cog(Info(bot))