This repository has been archived by the owner on Jan 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathhelp_handler.py
27 lines (24 loc) · 1.75 KB
/
help_handler.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
import discord
from database import ServerSettings
async def handle_help(message: discord.Message, server_settings: ServerSettings):
prefix = server_settings.prefix
embed = discord.Embed(title="All Commands", url="https://discord.gg/HD7x2vx",
description="For more help click on this above me to get to my Discord Support Server",
color=0x27fcfc)
embed.set_author(name="Help | Rules Bot")
embed.add_field(name="Prefix", value=prefix, inline=False)
embed.add_field(name="Change Prefix", value=prefix + "pchange [new prefix]")
embed.add_field(name="Help Message", value=prefix + "help", inline=False)
embed.add_field(name="Setup the Rules", value=prefix + "setup", inline=False)
embed.add_field(name="Reaction under a message to get roles", value=prefix+"setupreaction", inline=False)
embed.add_field(name="Edit the Rules", value=prefix + "editmessage", inline=False)
embed.add_field(name="Restore the rules if you delete them", value=prefix + "restore", inline=False)
embed.add_field(name="All supporters", value=prefix + "supporter", inline=True)
embed.add_field(name="Invite the Bot", value=prefix + "invite", inline=False)
embed.add_field(name="Bot info", value=prefix + "info", inline=False)
embed.add_field(name="Get all roles + id", value=prefix + "roles", inline=False)
embed.add_field(name="Server settings", value=prefix + "data guild", inline=False)
embed.add_field(name="premium info", value=prefix + "premium", inline=False)
embed.add_field(name="create a ticket", value=prefix + "create_ticket [ticket]", inline=False)
embed.set_footer(text="Bot by BaseChip | TheBotDev Project")
await message.channel.send(embed=embed)