import discord import asyncio import requests import io import safygiphy import json import os.path from random import randint TOKEN = 'NDQ4NzUzOTE4MTg5NzY0NjA5.DeauLA.BAecpwDWqITgVmYKLu4nq4sLiJI' server = discord.Server(id = '303603253306851328') client = discord.Client() players = {} g = safygiphy.Giphy() minutes = 0 hour = 0 @client.event async def on_ready(): print('Logged in as') print(client.user.name) print(client.user.id) print('------') @client.event async def on_message(message): if message.content.startswith('!react_boar'): msg = await client.send_message(message.channel, 'Проверка на кабана.', tts=True) def check(reaction, user): e = str(reaction.emoji) return e.startswith(('

← разместить еще код

import discord import asyncio import requests import io import safygiphy import json import os.path from random import randint TOKEN = 'NDQ4NzUzOTE4MTg5NzY0NjA5.DeauLA.BAecpwDWqITgVmYKLu4nq4sLiJI' server = discord.Server(id = '303603253306851328') client = discord.Client() players = {} g = safygiphy.Giphy() minutes = 0 hour = 0 @client.event async def on_ready(): print('Logged in as') print(client.user.name) print(client.user.id) print('------') @client.event async def on_message(message): if message.content.startswith('!react_boar'): msg = await client.send_message(message.channel, 'Проверка на кабана.', tts=True) def check(reaction, user): e = str(reaction.emoji) return e.startswith(('

Расшаренный код:

import discord
import asyncio
import requests
import io
import safygiphy
import json
import os.path
from random import randint



TOKEN = 'NDQ4NzUzOTE4MTg5NzY0NjA5.DeauLA.BAecpwDWqITgVmYKLu4nq4sLiJI'
server = discord.Server(id = '303603253306851328')
client = discord.Client()

players = {}
g = safygiphy.Giphy()
minutes = 0
hour = 0

@client.event
async def on_ready():
    print('Logged in as')
    print(client.user.name)
    print(client.user.id)
    print('------')


@client.event
async def on_message(message):
    if message.content.startswith('!react_boar'):
        msg = await client.send_message(message.channel, 'Проверка на кабана.', tts=True)

        def check(reaction, user):
            e = str(reaction.emoji)
            return e.startswith(('