forked from MG8mer/avalon_index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp_pageFOUR.py
81 lines (80 loc) · 3 KB
/
help_pageFOUR.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import nextcord
from nextcord.embeds import Embed
import nextcord.interactions
from datetime import datetime
import randGIF
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. 4)**",
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}",
color = nextcord.Color.blurple(),
timestamp=datetime.now())
embed.set_author(
name=botName,
icon_url=bot_avatar_url)
embed.add_field(
name="/remove_level_role",
value="Remove a role that is awarded when a particular server level is reached on this server.",
inline=True)
embed.add_field(
name="> Syntax",
value="```\n/remove_level_role <level: a valid integer>\n```",
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( #blank embed to seperate
name="",
value="",
inline=False)
embed.add_field(
name="/remove_exp_boosted_role",
value="Remove a role that gains extra server XP from messaging (not battling) on this server.",
inline=True)
embed.add_field(
name="> Syntax",
value="```\n/remove_exp_boosted_role <role: a role on this server>```\n",
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( #blank embed to seperate
name="",
value="",
inline=False)
embed.add_field(
name="/remove_no_exp_channel",
value="Remove a channel on this server where server XP cannot be gained from messaging (not battling).",
inline=True)
embed.add_field(
name="> Syntax",
value="```\n/remove_no_exp_channel <channel: a channel on this server>\n```",
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( #blank embed to seperate
name="",
value="",
inline=False)
embed.add_field(
name="/remove_no_exp_role",
value="Remove a role that cannot gain server XP from battling or messaging on this server.",
inline=True)
embed.add_field(
name="> Syntax",
value="```\n/remove_no_exp_role <role: a role on this server>\n```",
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