mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
Update
This commit is contained in:
parent
f6dbb90a34
commit
8d2e61567f
@ -72,10 +72,8 @@ def setup(bot):
|
|||||||
module_file.close()
|
module_file.close()
|
||||||
|
|
||||||
dict_from_file = dict()
|
dict_from_file = dict()
|
||||||
filelinelist = []
|
|
||||||
|
|
||||||
detected_lines = []
|
detected_lines = []
|
||||||
|
|
||||||
for line in module_file_lines:
|
for line in module_file_lines:
|
||||||
|
|
||||||
if str(line).startswith("@"):
|
if str(line).startswith("@"):
|
||||||
@ -101,6 +99,7 @@ def setup(bot):
|
|||||||
if len(detected_lines):
|
if len(detected_lines):
|
||||||
bot.memory['SpiceBot_CommandsQuery']['counts'] += 1
|
bot.memory['SpiceBot_CommandsQuery']['counts'] += 1
|
||||||
|
|
||||||
|
filelinelist = []
|
||||||
for detected_line in detected_lines:
|
for detected_line in detected_lines:
|
||||||
|
|
||||||
# Commands
|
# Commands
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user