summaryrefslogtreecommitdiff
path: root/AyaBot/plugins
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2020-07-14 13:10:14 +0800
committerGitHub <[email protected]>2020-07-14 13:10:14 +0800
commite6b4da7e6f3c24f2db928d44919bbb0e2bb27958 (patch)
tree11c14a84aba277d356e62c7b8f2799cc853cc735 /AyaBot/plugins
parentcc7ef5803a91f82d3b5b3fcda99736ab84c393b5 (diff)
downloadATRI-e6b4da7e6f3c24f2db928d44919bbb0e2bb27958.tar.gz
ATRI-e6b4da7e6f3c24f2db928d44919bbb0e2bb27958.tar.bz2
ATRI-e6b4da7e6f3c24f2db928d44919bbb0e2bb27958.zip
Update send.py
Diffstat (limited to 'AyaBot/plugins')
-rw-r--r--AyaBot/plugins/send.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/AyaBot/plugins/send.py b/AyaBot/plugins/send.py
index 39dbc24..ed37638 100644
--- a/AyaBot/plugins/send.py
+++ b/AyaBot/plugins/send.py
@@ -43,10 +43,10 @@ async def send_to_group(session: CommandSession):
group = lg[0]
msg = lg[1]
- rei = lg[2]
+ rei = int(lg[2])
if rei:
- for i in range(1, int(rei)):
+ for i in range(1, rei):
try:
await bot.send_group_msg(group_id = group, message = msg)
except: