-
Notifications
You must be signed in to change notification settings - Fork 0
/
roleplay.py
483 lines (401 loc) · 16.6 KB
/
roleplay.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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
import discord
from discord.ext import commands
import TenGiphPy
class Role(commands.Cog):
def __init__(self, client):
self.client = client
@commands.Cog.listener()
async def on_ready(self):
print('Bot is online')
@commands.command()
async def clap(self, ctx, member: discord.Member = None):
giftag = "animeclap"
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
getgifurl = t.random(giftag)
if member == None:
embed = discord.Embed(title=f"{ctx.author.name} claps")
embed.set_image(url=f"{getgifurl}")
await ctx.channel.send(embed=embed)
if member == True:
embed = discord.Embed(
title=f"{ctx.author.name} claps at {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.channel.send(embed=embed)
@commands.command()
async def bite(self, ctx, member: discord.Member = None):
giftag = "animebite"
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
getgifurl = t.random(giftag)
if member == None:
embed = discord.Embed(title=f"{ctx.author.name} bites")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
if member == True:
embed = discord.Embed(
title=f"{ctx.author.name} bites {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def cry(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animecry"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} is crying")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} cried for {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def cuddle(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animecuddle"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} cuddles")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} is cuddling with {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def dance(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animedance"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} dances")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} dances with {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def facepalm(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animefacepalm"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} facepalms")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} facepalms at {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def glare(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animeglare"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} glares")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(title=f"{ctx.author.name} glares at {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def greet(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animegreet"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} greets")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} greets {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def highfive(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animehighfive"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} highfives")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} highfives {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def hug(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animehug"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} hugs")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} hugs {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def laugh(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animelaugh"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} laughs")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} laughs at {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def kiss(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animekiss"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} kisses")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} kisses {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def lick(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animelick"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} licks")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} licks {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def pat(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animepat"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} pats")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} pats {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def poke(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animepoke"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} pokes")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} pokes {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def pout(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animepout"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} pouts")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} pouts {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def punch(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animepunch"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} punches")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} punches {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def purr(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animepurr"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} purrs")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} purrs at {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def run(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animerun"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} runs")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} runs with {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def sad(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animepurr"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} is sad")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} and {member.name} is sad")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def shoot(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animeshoot"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} has a gun")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} shoots {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def shrug(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animeshrug"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} shrugs")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(title=f"{ctx.author.name} shrugs at {member.mention}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def shy(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animeshy"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} is feeling shy")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} is shy because of {member.mention}")
await ctx.send(embed=embed)
@commands.command()
async def slap(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animeslap"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} slaps")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} slaps {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def smile(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animesmile"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} smiles")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} smiles at {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def stare(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animestare"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} stares")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} stares at {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def stomp(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animestomp"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} stomps")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} stomps {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def die(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animedie"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} dies")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} and {member.name} die together")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def wiggle(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animewiggle"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} wiggles")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} wiggles with {member.name}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
@commands.command()
async def wag(self, ctx, member: discord.Member = None):
t = TenGiphPy.Tenor(token='Z1834KI2C7O3')
giftag = "animesmile"
getgifurl = t.random(giftag)
if not member:
embed = discord.Embed(title=f"{ctx.author.name} wags")
embed.set_image(url=f"{getgifurl}")
if member:
embed = discord.Embed(
title=f"{ctx.author.name} wags with {member.name}")
embed.set_image(url=f"{getgifurl}")
embed.set_image(url=f"{getgifurl}")
await ctx.send(embed=embed)
def setup(client):
client.add_cog(Role(client))