forked from MG8mer/avalon_index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp_pageFIVE.py
65 lines (63 loc) · 2.49 KB
/
help_pageFIVE.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import nextcord
from nextcord.embeds import Embed
import randGIF
from datetime import datetime
import nextcord.interactions
# Below is the second page from the help function, which lists other important commands in Avalon Index in case the user is confused.
async def help(interaction, bot_name, bot_avatar_url):
botName = bot_name
bot_avatar_url = bot_avatar_url
url = randGIF.randgif("HELP ME")
embed = Embed(title = f"**{botName}'s Help Menu (pg. 5)**",
description=f"All the commands for Avalon Index, including moderator and user ones! *For more info on global/server levels, see the General page of the `/avi_manual` command.* {interaction.user.mention}",
colour=nextcord.Color.blurple(),
timestamp=datetime.now())
embed.set_author(name=botName, #author field
icon_url=bot_avatar_url)
embed.add_field(
name="/clear_level_roles",
value="Clear all the server levels associated with their respective role on this server.",
inline=True)
embed.add_field(
name="> Permissions",
value="```\nA user must have the *Manage Roles* permission to use this command on this server.\n```",
inline=True)
embed.add_field(
name="",
value="",
inline=False)
embed.add_field(
name="/clear_exp_boosted_roles",
value="Clear all the server XP boosts from the applicable roles on this server.",
inline=True)
embed.add_field(
name="> Permissions",
value="```\nA user must have the *Manage Roles* permission to use this command on this server.\n```",
inline=True)
embed.add_field(
name="",
value="",
inline=False)
embed.add_field(
name="/clear_no_exp_channels",
value="Remove the no server XP restriction from all the channels that have it on this server.",
inline=True)
embed.add_field(
name="> Permissions",
value="```\nA user must have the *Manage Channels* permission to use this command on this server.\n```",
inline=True)
embed.add_field(
name="",
value="",
inline=False)
embed.add_field(
name="/clear_no_exp_roles",
value="Remove the no XP restriction from all roles that have it on this server.",
inline=True)
embed.add_field(
name="> Permissions",
value="```\nA user must have the *Manage Roles* permission to use this command on this server.\n```",
inline=True)
embed.set_thumbnail(url=f"{url}")
embed.set_footer(text = "Via Tenor", icon_url = "https://media.tenor.com/SuXNrLh3RW0AAAAi/ebichu-help-me.gif")
return embed