@Quaasaar

None_none_none_None_none_none_?

None_none_none_None_none_none_None_none_none_None_none_none_None_none_none_None_none_none_
  • Вопрос задан
  • 547 просмотров
Решения вопроса 1
total4c
@total4c
Говнокодер
import discord
from discord.ext import commands

client = commands.Bot(command_prefix='!')
cycles = dict(test1=True)


@client.command(pass_context=True)
async def stop(ctx):
	cycles["test1"] = False


@client.command(pass_context=True)
async def test1(ctx):
    while cycles["test1"]:
        await ctx.send('Test')


client.run ("TOKEN")
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы