Captain Ezio commited on
Commit
9743e83
·
1 Parent(s): 474e825

Update flood.py

Browse files
Files changed (1) hide show
  1. Powers/plugins/flood.py +1 -1
Powers/plugins/flood.py CHANGED
@@ -117,7 +117,7 @@ async def flood_action(c: Gojo, m: Message):
117
  return
118
 
119
  @Gojo.on_message(command(['isflood', 'flood']) & ~filters.bot)
120
- async def flood_set(c: Gojo, m: Message):
121
  if m.chat.type == CT.PRIVATE:
122
  return await m.reply_text("This command is ment to be used in groups.")
123
  c_id = m.chat.id
 
117
  return
118
 
119
  @Gojo.on_message(command(['isflood', 'flood']) & ~filters.bot)
120
+ async def flood_on_off(c: Gojo, m: Message):
121
  if m.chat.type == CT.PRIVATE:
122
  return await m.reply_text("This command is ment to be used in groups.")
123
  c_id = m.chat.id