
30.04.2023, 22:06
|
|
Флудер
Регистрация: 10.08.2021
Сообщений: 6,010
С нами:
2505538
Репутация:
133
|
|
Python:
Код:
is_flooding
=
False
@client.command
(
)
async
def
popka
(
ctx
)
:
global
is_flooding
is_flooding
=
True
while
is_flooding
:
guild
=
ctx
.
message
.
guild
await
ctx
.
channel
.
send
(
"flood text"
)
@client.command
(
)
async
def
stop
(
ctx
)
:
global
is_flooding
is_flooding
=
False
где нибудь объявляешь переменную флуда да и все
|
|
|