Update help.py
This commit is contained in:
parent
f6fc1d1286
commit
a66c0f14f4
|
@ -1,12 +1,12 @@
|
||||||
from aiogram import types
|
from aiogram import types
|
||||||
from aiogram.dispatcher.filters.builtin import CommandStart
|
from aiogram.dispatcher.filters.builtin import CommandHelp
|
||||||
|
|
||||||
from loader import dp
|
from loader import dp
|
||||||
from utils.misc import rate_limit
|
from utils.misc import rate_limit
|
||||||
|
|
||||||
|
|
||||||
@rate_limit(5, 'help')
|
@rate_limit(5, 'help')
|
||||||
@dp.message_handler(CommandStart())
|
@dp.message_handler(CommandHelp())
|
||||||
async def bot_help(message: types.Message):
|
async def bot_help(message: types.Message):
|
||||||
text = [
|
text = [
|
||||||
'Список команд: ',
|
'Список команд: ',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user