-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbot.py
More file actions
406 lines (356 loc) · 24.1 KB
/
Copy pathbot.py
File metadata and controls
406 lines (356 loc) · 24.1 KB
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
import discord
from discord.ext import commands
from discord.ext.commands import Bot
import asyncio
from discord import Activity, ActivityType
import random
from discord import Embed, Member
from discord.ext import commands
from asyncio import TimeoutError
import datetime, pyowm
import json
import nekos
from discord.utils import get
import re
from urllib.parse import urlparse
import time
import platform
import os
from time import sleep
import requests
Bot = commands.Bot(command_prefix="#")
Bot.remove_command('help')
Arguments = ['feet', 'yuri', 'trap', 'futanari', 'hololewd', 'lewdkemo', 'solog', 'feetg', 'cum', 'erokemo', 'les', 'wallpaper', 'lewdk', 'ngif', 'tickle', 'lewd', 'feed', 'gecg', 'eroyuri', 'eron', 'cum_jpg', 'bj', 'nsfw_neko_gif', 'solo', 'kemonomimi', 'nsfw_avatar', 'gasm', 'poke', 'anal', 'slap', 'hentai', 'avatar', 'erofeet', 'holo', 'keta', 'blowjob', 'pussy', 'tits', 'holoero', 'lizard', 'pussy_jpg', 'pwankg', 'classic', 'kuni', 'waifu', 'pat', '8ball', 'kiss', 'femdom', 'neko', 'spank', 'cuddle', 'erok', 'fox_girl', 'boobs', 'random_hentai_gif', 'smallboobs', 'hug', 'ero', 'smug', 'goose', 'baka', 'woof']
def is_nsfw():
async def predicate(ctx):
return ctx.channel.is_nsfw()
return commands.check(predicate)
@Bot.command()
@is_nsfw()
async def cum(ctx):
emb = discord.Embed(color=0xebebeb)
emb.set_image(url=nekos.img('cum'))
await ctx.send(embed=emb)
@Bot.command()
async def actions(ctx):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
emb = discord.Embed(title='Действия',color = random.choice(colours5))
emb.set_author(name= ctx.author.name, icon_url = ctx.author.avatar_url)
emb.add_field( name = '`{}hug`'.format( "#" ), value = 'Обнять.')
emb.add_field( name = '`{}tickle`'.format( "#" ), value = 'Пощекотать.')
emb.add_field( name = '`{}cuddle`'.format( "#" ), value = 'Прижаться.')
emb.add_field( name = '`{}kiss`'.format( "#" ), value = 'Поцеловать.')
emb.add_field( name = '`{}pat`'.format( "#" ), value = 'Гладить.')
emb.add_field( name = '`{}slap`'.format( "#" ), value = 'Пощечина.')
emb.add_field( name = '`{}wink`'.format( "#" ), value = 'Подмигнуть.')
emb.add_field( name = '`{}sex`'.format( "#" ), value = 'Занятся сексом.')
emb.add_field( name = '`{}vrot`'.format( "#" ), value = 'Дать в рот.')
emb.add_field( name = '`{}otliz`'.format( "#" ), value = 'Лизнуть.')
emb.add_field( name = '`{}smoke`'.format( "#" ), value = 'Курить.')
emb.add_field( name = '`{}hello`'.format( "#" ), value = 'Передать привет через бота в ЛС.')
emb.add_field( name = '`{}gey`'.format( "#" ), value = 'Проверь сам.')
await ctx.send(embed=emb)
@Bot.command()
async def hug(ctx, member: discord.Member):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
huggg = ['https://i.some-random-api.ml/zSKMG85bIg.gif', 'https://acegif.com/wp-content/gif/anime-hug-20.gif', 'https://acegif.com/wp-content/gif/anime-hug-83.gif', 'https://pa1.narvii.com/6392/c5365d892718425ea58371b8d4e6fc64e29f6902_hq.gif', 'https://anime-chan.me/uploads/posts/2014-09/1411477272_jinsei-episode12-omake-6.gif']
embed = discord.Embed(color = random.choice(colours5), title = 'Обнятие.')
embed.description = f"{ctx.author.mention} Вы обняли {member.mention}."
embed.set_image(url = random.choice(huggg))
await ctx.send(embed = embed)
@Bot.command()
async def pat(ctx, member: discord.Member):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
patt = ['https://i.some-random-api.ml/eT58KYZl8I.gif', 'https://pa1.narvii.com/6390/65b91c940fecd2659b194c51351950358cb9d047_hq.gif', 'https://kinogud.files.wordpress.com/2019/08/original.gif']
embed = discord.Embed(color = random.choice(colours5), title = 'Погладить.')
embed.description = f"{ctx.author.mention} гладит {member.mention}."
embed.set_image(url = random.choice(patt))
await ctx.send(embed = embed)
@Bot.command()
async def wink(ctx, member: discord.Member):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
winkk =('https://i.some-random-api.ml/yoPiQCP6DM.gif', 'https://i.gifer.com/4Z2R.gif', 'https://pa1.narvii.com/6389/da61d5d8b4bc7b8fa5f5da49016b4d9c5a1a1893_hq.gif')
embed = discord.Embed(color = random.choice(colours5), title = 'Подмигивать.')
embed.description = f"{ctx.author.mention} подмигивает {member.mention}."
embed.set_image(url = random.choice(winkk))
await ctx.send(embed = embed)
@Bot.command()
async def tickle(ctx, member: discord.Member):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
tickkle = ['https://i.gifer.com/KVjQ.gif', 'https://i.gifer.com/O4QR.gif', 'https://66.media.tumblr.com/e6d1a1cd2499e37f14118a75d5e36da4/tumblr_og7p24fa3R1vpbklao6_500.gifv']
embed = discord.Embed(color = random.choice(colours5), title = 'Пощекотать.')
embed.description = f"{ctx.author.mention} щекочет {member.mention}."
embed.set_image(url = random.choice(tickkle))
await ctx.send(embed = embed)
@Bot.command()
async def cuddle(ctx, member: discord.Member):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
cuddlee = ['https://data.whicdn.com/images/241295638/original.gif', 'https://im0-tub-ru.yandex.net/i?id=26fa1e1f6e191b598ce4148c6bab699e-srl&n=13']
embed = discord.Embed(color = random.choice(colours5), title = 'Прижаться.')
embed.description = f"{ctx.author.mention} прижимается к {member.mention}."
embed.set_image(url = random.choice(cuddlee))
await ctx.send(embed = embed)
@Bot.command()
async def slap(ctx, member: discord.Member):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
slappp = ['https://i.gifer.com/79zo.gif', 'https://safebooru.org/images/1882/605143df221803e99f3b5423f1df4c8b76bd8ae9.gif?1964756', 'https://i.kym-cdn.com/photos/images/original/001/040/951/73e.gif']
embed = discord.Embed(color = random.choice(colours5), title = 'Пощечина.')
embed.description = f"{ctx.author.mention} дал(а) леща {member.mention}."
embed.set_image(url = random.choice(slappp))
await ctx.send(embed = embed)
@Bot.command()
async def kiss(ctx, member: discord.Member):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
kisss = ['https://data.whicdn.com/images/294084710/original.gif', 'https://im0-tub-ru.yandex.net/i?id=891bd2b6228afa51bd76bc2c61050a17&n=13']
embed = discord.Embed(color = random.choice(colours5), title = 'Поцеловать.')
embed.description = f"{ctx.author.mention} поцеловал(а) {member.mention}."
embed.set_image(url = random.choice(kisss))
await ctx.send(embed = embed)
@Bot.command()
async def sex(ctx, member: discord.Member):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
sexx = ['https://erogif.ru/wp-content/uploads/2020/04/Hentaj-porno-anime-gifki-anal-ebut-v-popu-12.gif', 'https://images-ext-1.discordapp.net/external/eOp5lNxwwNY1QZCc-PZnCFdptfY24qf9axDqyoqKn84/https/cdn.nekos.life/cum/Cum_114.gif', 'https://images-ext-1.discordapp.net/external/CfEwRVLWN-fk0j5Y5APrA4a9BtUGUoQ72OHpE4GjJRw/https/cdn.nekos.life/cum/Cum_162.gif']
embed = discord.Embed(color = random.choice(colours5), title = 'Sexy.')
embed.description = f"{ctx.author.mention} выкимал(а) {member.mention}."
embed.set_image(url = random.choice(sexx))
await ctx.send(embed = embed)
@Bot.command()
async def vrot(ctx, member: discord.Member):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
vrott = ['', 'https://media.discordapp.net/attachments/851844222046961705/858753450074832896/image0.jpg', 'https://media.discordapp.net/attachments/851844222046961705/858752299298848798/image0.jpg']
embed = discord.Embed(color = random.choice(colours5), title = 'Высунул и.')
embed.description = f"{ctx.author.mention} дал в ротик {member.mention}."
embed.set_image(url = random.choice(vrott))
await ctx.send(embed = embed)
@Bot.command()
async def otliz(ctx, member: discord.Member):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
otlizz = ['https://i.imgur.com/7dPB1Zt.gif']
embed = discord.Embed(color = random.choice(colours5), title = 'Лизнул(а).')
embed.description = f"{ctx.author.mention} отлизал(а) пятку {member.mention}."
embed.set_image(url = random.choice(otlizz))
await ctx.send(embed = embed)
@Bot.command()
async def smoke(ctx):
await ctx.message.delete()
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
smokee = ['https://pa1.narvii.com/6545/8e93c0dddb94961912a7c1dd60a5dfae243ddaf5_hq.gif', 'https://99px.ru/sstorage/86/2015/07/image_861307151145351751585.gif', 'https://thumbs.gfycat.com/CanineElderlyAmazonparrot-size_restricted.gif']
embed = discord.Embed(color = random.choice(colours5), title = 'Поджег сигарету указательным пальчиком.')
embed.description = f"{ctx.author.mention} сигарета прикурилась, вокруг масса смол."
embed.set_image(url = random.choice(smokee))
await ctx.send(embed = embed)
@Bot.command()
@commands.has_permissions(view_audit_log=True)
async def ban(ctx, member: discord.Member, days: int = 1, reason=None):
await member.ban(reason=reason)
e = discord.Embed(title=f"{ctx.author.name} забанил: {member.name}\n", description=f'Причина: {reason}', colour=discord.Color.red())
await member.send(embed=e)
await ctx.send(embed=e)
await member.send( f'{ member.mention }, Вас `забанили` на сервере **ST Comunity!** `Забанил:` { ctx.author.mention }')
@Bot.command()
@commands.has_permissions(view_audit_log=True)
async def kick(ctx, member: discord.Member, reason=None):
await member.kick(reason=reason)
e = discord.Embed(title=f"{ctx.author.name} кикнул: {member.name}\n", description=f'Причина: {reason}', colour=discord.Color.red())
await member.send(embed=e)
await ctx.send(embed=e)
await member.send( f'{ member.mention }, Вас `кикнули` с сервера **ST Comunity!** `Кикнул:` { ctx.author.mention }')
@Bot.command()
@commands.has_permissions(view_audit_log=True)
async def mute(ctx,member:discord.Member,time:int,reason=None):
await ctx.message.delete()
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969] #цвет в формате 0xHEX
muterole = discord.utils.get(ctx.guild.roles,id=852141218585509888)
e = discord.Embed(title=f"{ctx.author.name} заглушил: {member.name}\n", description=f'Причина: {reason}', colour=discord.Color.red())
await member.add_roles(muterole)
await ctx.send(embed=e)
await member.send( f'{ member.mention }, Вас `заглушили` на сервере **ST Comunity!** `Замутил:` { ctx.author.mention }')
await asyncio.sleep(time * 60)
await member.remove_roles(muterole)
@Bot.command(pass_context=True)
@commands.has_permissions(view_audit_log=True)
async def unban(ctx, *, member):
banned_users = await ctx.guild.bans()
await ctx.channel.purge(limit=1)
for ban_entry in banned_users:
user = ban_entry.user
await ctx.guild.unban(user)
emb = discord.Embed(colour=discord.Color.red())
emb.add_field(name='Розбан пользователя', value='Пользователь {} был розбанен!'.format(member))
await ctx.send(embed=emb)
return
@Bot.command()
@commands.has_permissions(view_audit_log=True)
async def unmute(ctx,member:discord.Member,reason=None):
await ctx.message.delete()
muterole = discord.utils.get(ctx.guild.roles,id=852141218585509888)
e = discord.Embed(title=f"{ctx.author.name} снял заглушку с: {member.name}\n", description=f'Причина анмута: {reason}', colour=discord.Color.red())
await ctx.send (embed = e)
await member.remove_roles(muterole)
await member.send( f'{ member.mention }, С вас сняли `мут` на сервере **ST Comunity!** **Снял мут:** { ctx.author.mention }')
@Bot.event
async def on_ready():
print("Бот ахуенно работает бро!")
await Bot.change_presence(status=discord.Status.idle,activity=Activity(name="за сервером.",type=ActivityType.watching))
@Bot.event
async def on_command_error(ctx, error):
if isinstance(error, commands.MissingPermissions):
await ctx.send("Алё уёбок у тебя нет разрешений, необходимых для этой команды, так что идёшь нахуй.")
return
raise error
@Bot.command(pass_context = True)
@commands.has_permissions(view_audit_log=True)
async def clear(ctx, amount=1, limit_amount=1):
await ctx.channel.purge(limit=amount+1)
await ctx.channel.purge(limit=limit_amount)
author = ctx.message.author
await ctx.send(f'```Сэр, пропали сообщения, я не знаю сколько, может вы знаете?\n' + f'P.S Кол-во({amount})\n' f'P.S.S Удалил - {author}```')
@Bot.command()
async def info(ctx,member:discord.Member):
emb = discord.Embed(title='Информация о пользователе',color=0x2f3136)
emb.add_field(name='Имя',value=member.display_name,inline=False)
emb.add_field(name="Когда присоединился:",value=member.joined_at.strftime('%d.%m.%Y %H:%M:%S'),inline=False)
emb.add_field(name='Айди:',value=member.id,inline=False)
emb.add_field(name='Аккаунт был создан:',value=member.created_at.strftime("%d.%m.%Y %H:%M:%S"),inline=False)
emb.add_field(name='Самая высокая роль:',value=member.top_role.mention,inline=False)
emb.set_thumbnail(url=member.avatar_url)
emb.set_footer(text=f"Вызвано: {ctx.message.author}",icon_url=ctx.message.author.avatar_url)
emb.set_author(name=ctx.message.author,icon_url=ctx.message.author.avatar_url)
await ctx.send(embed = emb)
@Bot.command(name="pravda")
async def _8ball(ctx, *, question: str = None,):
message = await ctx.send("Проверяем правдивость")
await message.edit(content=f"Проверяем правда ли это... 0 %")
await message.edit(content=f"Проверяем правда ли это... 5 %")
await message.edit(content=f"Проверяем правда ли это... 14 %")
await message.edit(content=f"Проверяем правда ли это... 22 %")
await message.edit(content=f"Проверяем правда ли это... 42 %")
await message.edit(content=f"Проверяем правда ли это... 52 %")
await message.edit(content=f"Проверяем правда ли это... 68 %")
await message.edit(content=f"Проверяем правда ли это... 84 %")
await message.edit(content=f"Проверяем правда ли это... 92 %")
await message.edit(content=f"Проверяем правда ли это... 98 %")
await message.edit(content=f"Проверяем правда ли это... 99 %")
await message.delete()
if question == None:
RANDOM = str(1)
else:
RANDOM = str(random.randint(2,16))
answer = {'1' : 'Это правда.',
'2' : 'Это не правда.',
'3' : 'Хуй знает',
'4' : 'Это правда.',
'5' : 'Это не правда.',
'6' : 'Хуй знает',
'7' : 'Это правда.',
'8' : 'Это не правда.',
'9' : 'Хуй знает.',
'10' : 'Это правда.',
'11' : 'Это не правда.',
'12' : 'Хуй знает.',
'13' : 'Это правда.',
'14' : 'Это не правда.',
'15' : 'Хуй знает.',
'16' : 'Это правда.'}
await ctx.send(answer[RANDOM])
await ctx.message.add_reaction('🖕')
@Bot.command()
async def say(ctx, *, message):
colours5 = [0xff0000, 0xff9f00, 0x72ff00, 0x00ff6d, 0x00acff, 0x0200ff, 0xc500ff, 0xff0053, 0xFA8072, 0xFF7F50, 0x00CED1, 0x800080, 0x696969]
await ctx.message.delete()
emb = discord.Embed(title='📌 | Cообщение', description=message, color=random.choice(colours5))
emb.set_author(name=ctx.author.name, icon_url = ctx.author.avatar_url)
await ctx.send(embed=emb)
@Bot.command(pass_context = True)
async def help(ctx):
await ctx.message.delete()
emb = discord.Embed(title=':compass: | Навигация по командам.',color=0x2f3136)
emb.set_footer(text=f'| Вызвано: {ctx.author.name}', icon_url= ctx.author.avatar_url)
emb.set_author(name= ctx.author.name, icon_url = ctx.author.avatar_url)
emb.add_field( name =':people_wrestling: | `{}actions`'.format( "#" ), value = '**RolePlay.**')
emb.add_field( name =':ring: | `{}ban`'.format( "#" ), value = '**Ограничение доступа к серверу.**')
emb.add_field( name =':drum: | `{}unban`'.format( "#" ), value = '**Удаления ограничения к серверу.**')
emb.add_field( name =':beginner: | `{}kick`'.format( "#" ), value = '**Выгнать с сервера.**')
emb.add_field( name =':mountain_snow: | `{}clear`'.format( "#" ), value = '**Очистить чат.**')
emb.add_field( name =':notebook: | `{}mute`'.format( "#" ), value = '**Ограничение к чату сервера.**')
emb.add_field( name =':smoking: | `{}unmute`'.format( "#" ), value = '**Удаления ограничения к чату сервера.**')
emb.add_field( name =':crossed_swords: | `{}pravda`'.format( "#" ), value = '**Правда либо Не Правда.**')
emb.add_field( name =':dagger: | `{}info`'.format( "#" ), value = '**Информация о пользователе.**')
emb.add_field( name =':knife: | `{}say`'.format( "#" ), value = '**Сообщение от имени бота.**')
emb.add_field( name =':musical_note: | `{}music`'.format( "#" ), value = '**Музыка**')
emb.add_field( name =':joystick: | `{}serverinfo`'.format( "#" ), value = '**Информация о сервере.**')
await ctx.send(embed=emb)
@Bot.command()
async def gey( ctx ):
await ctx.message.delete()
await ctx.author.send(f'{ ctx.author.mention }, Ты гей ебанный, ХАХАХАХХААХХАХА')
@Bot.command()
async def hello( ctx, member: discord.Member ):
await ctx.message.delete()
await member.send( f'{ member.mention }, привет от { ctx.author.mention }')
@Bot.command()
@commands.has_permissions(administrator = True)
async def jertva( ctx, member: discord.Member ):
await member.send( f'{ member.mention }, алё хуесос тебя зовёт очень крутой человек { ctx.author.mention } discord.gg/stcomunity')
await ctx.message.delete()
@Bot.command()
@commands.has_permissions(administrator = True)
async def love( ctx, member: discord.Member ):
await member.send( f'{ member.mention }, Я тебя люблю кисочка моя :heart: от { ctx.author.mention }')
await ctx.message.delete()
@Bot.command()
async def music(ctx):
await ctx.message.delete()
emb = discord.Embed(title=':musical_note: | Музыка.',color=0x2f3136)
emb.set_footer(text=f'| Вызвано: {ctx.author.name}', icon_url= ctx.author.avatar_url)
emb.set_author(name= ctx.author.name, icon_url = ctx.author.avatar_url)
emb.add_field( name = ':yellow_square: | `{}play`'.format( "#" ), value = '**Включить песню.**')
emb.add_field( name = ':blue_square: | `{}stop`'.format( "#" ), value = '**Выключить песню..**')
emb.add_field( name = ':green_square: | `{}skip`'.format( "#" ), value = '**Скипнуть песню которая играет.**')
emb.add_field( name = ':purple_square: | `{}playing`'.format( "#" ), value = '**Посмотреть что сейчас играет.**')
emb.add_field( name = ':brown_square: | `{}volume`'.format( "#" ), value = '**Изменить громкость.**')
emb.add_field( name = ':orange_square: | `{}summon`'.format( "#" ), value = '**Переместить бота.**')
emb.add_field( name = ':white_large_square: | `{}queue`'.format( "#" ), value = '**Очередь.**')
await ctx.send(embed=emb)
@Bot.command(aliases=['status'])
async def ping(ctx):
await ctx.send(f'Задержка DISCORD составляет {round(Bot.latency * 1000)} мс.')
@Bot.command()
async def serverinfo(ctx):
pythonVersion = platform.python_version()
dpyVersion = discord.__version__
serverCount = len(Bot.guilds)
memberCount = str(ctx.guild.member_count)
role_count = len(ctx.guild.roles)
list_of_bots = [Bot.mention for Bot in ctx.guild.members if Bot.bot]
staff_roles = ["⠀⠀⠀ ⠀ Правитель ⠀ ⠀⠀⠀", "⠀⠀⠀ ⠀ Модератор ⠀ ⠀⠀⠀"]
id = str(ctx.guild.id)
region = str(ctx.guild.region)
embed = discord.Embed(title=f'{Bot.user.name} Статистика', description='\uFEFF', colour=ctx.author.colour, timestamp=ctx.message.created_at)
embed.add_field(name='Bot Version:', value='1.0')
embed.add_field(name='Версия питона:', value=pythonVersion)
embed.add_field(name='Discord.Py версия', value=dpyVersion)
embed.add_field(name="Server ID", value=id)
embed.add_field(name='Уровень Верификации', value=str(ctx.guild.verification_level))
embed.add_field(name='Высшая роль:', value="Создатель вирусов")
embed.add_field(name='Количество ролей', value=str(role_count))
embed.add_field(name="Регион сервера", value=":flag_ru: | Russia")
embed.add_field(name="Сервер создан:", value="5 июн. 2021 г., 17:19:58")
embed.add_field(name='Число гильдий:', value=serverCount)
embed.add_field(name='Число всех учасников:', value=memberCount)
embed.add_field(name='Разработчик бота:', value="<@853349852218130432>")
embed.set_footer(text=f"{Bot.user.name}")
embed.set_author(name=Bot.user.name, icon_url=Bot.user.avatar_url)
embed.set_thumbnail(url='https://thumbs.gfycat.com/DeliriousResponsibleAiredaleterrier-small.gif')
await ctx.send(embed=embed)
Bot.run("ТОКЕН")