-
Notifications
You must be signed in to change notification settings - Fork 0
/
comandos_ajuda.py
231 lines (146 loc) · 7.39 KB
/
comandos_ajuda.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
import discord
from discord.ext import commands
class Ajuda(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.group(name="ajuda", aliases=["comandos", "help"])
async def help(self, ctx):
if ctx.invoked_subcommand is None:
em = discord.Embed(title="Ajuda", description="Use w!ajuda <comandos> para mais informações.", color=0xf2bc66)
em.add_field(name="Utilidade", value="clear, poll")
em.add_field(name="Divertidos", value="dado, rand, fale, entrar, sair")
em.add_field(name="Matemática", value="soma, subt, mult, div, somas, subts, mults")
em.add_field(name="Economia", value="carteira, pedir, sacar, depositar, enviar, roubar, apostar, loja, comprar, mochila, vender, ranking")
await ctx.send(embed=em)
@help.command()
async def clear(self, ctx):
em = discord.Embed(title="Clear", description="Limpa o chat", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!clear <quantidade>")
await ctx.send(embed=em)
@help.command()
async def poll(self, ctx):
em = discord.Embed(title="Poll", description="Começa uma votação", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!poll <mensagem>")
await ctx.send(embed=em)
@help.command()
async def dado(self, ctx):
em = discord.Embed(title="🎲 Dado", description="Gira um dado de 1 até 6", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!dado")
await ctx.send(embed=em)
@help.command()
async def rand(self, ctx):
em = discord.Embed(title="Random", description="Gera um número aleatório", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!rand <máximo")
await ctx.send(embed=em)
@help.command()
async def fale(self, ctx):
em = discord.Embed(title="Fale", description="Falo algo que você digite", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!fale <mensagem>")
await ctx.send(embed=em)
@help.command()
async def entrar(self, ctx):
em = discord.Embed(title="Entrar", description="Entro no voice chat", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!entrar")
await ctx.send(embed=em)
@help.command()
async def sair(self, ctx):
em = discord.Embed(title="Sair", description="Saio do voice chat", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!sair")
await ctx.send(embed=em)
@help.command()
async def soma(self, ctx):
em = discord.Embed(title="Soma", description="Somo dois números", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!soma <x> <y>")
await ctx.send(embed=em)
@help.command()
async def subt(self, ctx):
em = discord.Embed(title="Subtração", description="Subtraio dois números", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!subt <x> <y>")
await ctx.send(embed=em)
@help.command()
async def mult(self, ctx):
em = discord.Embed(title="Multiplicação", description="Multiplico dois números", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!mult <x> <y>")
await ctx.send(embed=em)
@help.command()
async def div(self, ctx):
em = discord.Embed(title="Divisão", description="Divido dois números", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!div <x> <y>")
await ctx.send(embed=em)
@help.command()
async def somas(self, ctx):
em = discord.Embed(title="Somas", description="Somo vários números", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!somas <x> <y> <z> ...")
await ctx.send(embed=em)
@help.command()
async def subts(self, ctx):
em = discord.Embed(title="Subtrações", description="Subtraio vários números", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!subts <x> <y> <z> ...")
await ctx.send(embed=em)
@help.command()
async def mults(self, ctx):
em = discord.Embed(title="Multiplicações", description="Multiplico vários números", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!mults <x> <y> <z> ...")
await ctx.send(embed=em)
@help.command()
async def carteira(self, ctx):
em = discord.Embed(title="Carteira", description="Visualizar sua carteira", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!carteira")
await ctx.send(embed=em)
@help.command()
async def pedir(self, ctx):
em = discord.Embed(title="Pedir", description="Pedir dinheiro", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!pedir")
await ctx.send(embed=em)
@help.command()
async def sacar(self, ctx):
em = discord.Embed(title="📤 Sacar", description="Sacar dinheiro do cofre", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!sacar <quantia>")
await ctx.send(embed=em)
@help.command()
async def depositar(self, ctx):
em = discord.Embed(title="📥 Depositar", description="Depositar dinheiro do cofre", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!depositar <quantia>")
await ctx.send(embed=em)
@help.command()
async def enviar(self, ctx):
em = discord.Embed(title="💸 Enviar", description="Enviar dinheiro para outro membro", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!enviar <@membro> <quantia>")
await ctx.send(embed=em)
@help.command()
async def roubar(self, ctx):
em = discord.Embed(title="🎰 Roubar", description="Roubar dinheiro de outro membro", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!roubar <@membro> <quantia>")
await ctx.send(embed=em)
@help.command()
async def apostar(self, ctx):
em = discord.Embed(title="🎰 Apostar", description="Aposte dinheiro em uma máquina de cassino, somente aceitamos dinheiro vivo", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!apostar <quantia>")
await ctx.send(embed=em)
@help.command()
async def loja(self, ctx):
em = discord.Embed(title="Loja", description="Abre a loja", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!loja")
await ctx.send(embed=em)
@help.command()
async def comprar(self, ctx):
em = discord.Embed(title="Comprar", description="Comprar itens da loja", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!comprar <item> <quantidade>")
await ctx.send(embed=em)
@help.command()
async def mochila(self, ctx):
em = discord.Embed(title="Mochila", description="Abre sua mochila", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!mochila")
await ctx.send(embed=em)
@help.command()
async def vender(self, ctx):
em = discord.Embed(title="Vender", description="Vender itens da sua mochila", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!vender <item> <quantidade>")
await ctx.send(embed=em)
@help.command()
async def ranking(self, ctx):
em = discord.Embed(title="Ranking", description="Mostra o ranking de economias", color=0xf2bc66)
em.add_field(name="**Sintaxe**", value="w!ranking")
await ctx.send(embed=em)
async def setup(bot):
await bot.add_cog(Ajuda(bot))