-
Notifications
You must be signed in to change notification settings - Fork 0
/
module_help.py
95 lines (66 loc) · 4.06 KB
/
module_help.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import nextcord
from nextcord.ext import commands
description_reaction = {"!cringe": "\"The goose, Mr. Holmes! The goose, sir!\" he gasped.", "!funny": "COMEDY ACHIEVED", "!beat": "TOTALLY not radical, dude.", "!tyrant": "I will burn like the heathen kings of old.",
"!madness": "It's just... good business.", "!a": ":wholesome:", "!food": "so high quality, and for what???"}
description_dnd = {"!travel": "`!travel` `<light years>` `<size class>` `<days>`", "!travel (fuel)": "`!travel` `<light years>` `<size class>` `<fuel>` `true`", "!prices": "Display prices of space gear",
"!calc_food": "`!calc_food` `<number of people>` `<dL of food>`", "!survival": "`!survival` `<creature>`", "Currency Conversion": "Type the amount in chat, like `3000(V)` or `125gp`"}
description_utility = {"!kick [user]": "Vote to kick?", "!server": "Get the current minigames server IP address", "!java": "lol"}
description_help = {"!helpreaction": "Reaction images", "!helpdnd": "D&D functionality", "!helputility": "Other utility commands", "!help": "You already know 👉 😎 👉"}
description = '''Uh oh Watson, looks like somebody posted CRINGE!'''
class Help(commands.Cog, name = "Util Commands"):
def __init__(self, bot):
self.bot = bot
@commands.command(aliases = ["hlp"])
async def help(self, ctx):
"""You already know 👉😎👉"""
# trigger = ctx.message
# await trigger.delete()
embed = nextcord.Embed(
colour = nextcord.Colour.dark_purple(),
description = description
)
for desc in description_help:
embed.add_field(name = desc, value = description_help[desc], inline = False)
embed.set_author(name = "Help", icon_url = "https://i0.kym-cdn.com/entries/icons/facebook/000/019/601/smilelaugh.jpg", url = "https://www.youtube.com/watch?v=90hIAXlBGzY")
await ctx.send(embed = embed)
@commands.command(aliases = ['reaction'])
async def helpreaction(self, ctx):
"""You already know 👉😎👉"""
# trigger = ctx.message
# await trigger.delete()
embed = nextcord.Embed(
colour = nextcord.Colour.dark_purple(),
description = description
)
for desc in description_reaction:
embed.add_field(name = desc, value = description_reaction[desc], inline = False)
embed.set_author(name = "Help", icon_url = "https://i0.kym-cdn.com/entries/icons/facebook/000/019/601/smilelaugh.jpg", url = "https://www.youtube.com/watch?v=90hIAXlBGzY")
await ctx.send(embed = embed)
@commands.command(aliases = ['dndhelp'])
async def helpdnd(self, ctx):
"""You already know 👉😎👉"""
# trigger = ctx.message
# await trigger.delete()
embed = nextcord.Embed(
colour = nextcord.Colour.dark_purple()
)
for desc in description_dnd:
embed.add_field(name = desc, value = description_dnd[desc], inline = False)
embed.set_author(name = "DnD Help", icon_url = "https://i0.kym-cdn.com/entries/icons/facebook/000/019/601/smilelaugh.jpg", url = "https://www.youtube.com/watch?v=90hIAXlBGzY")
await ctx.send(embed = embed)
@commands.command(aliases = [])
async def helputility(self, ctx):
"""You already know 👉😎👉"""
embed = nextcord.Embed(
colour = nextcord.Colour.dark_purple()
)
for desc in description_utility:
embed.add_field(name = desc, value = description_utility[desc], inline = False)
embed.set_author(name = "DnD Help", icon_url = "https://i0.kym-cdn.com/entries/icons/facebook/000/019/601/smilelaugh.jpg", url = "https://www.youtube.com/watch?v=90hIAXlBGzY")
await ctx.send(embed = embed)
@commands.command(name = "supersecretadmincommandthatonlynathanknowsaboutpassword:scurvylegsmcgee")
async def secret(self, ctx):
"""Spooooooky :O"""
trigger = ctx.message
await trigger.delete()
await ctx.send("Spooooooooky :O\nhttps://www.youtube.com/watch?v=90hIAXlBGzY")