diff options
author | jak1 <mike.wollmann@gmail.com> | 2020-04-06 16:02:39 +0200 |
---|---|---|
committer | jak1 <mike.wollmann@gmail.com> | 2020-04-06 16:02:39 +0200 |
commit | e0412867f95d2b1ad83453cf99cc0a2c21f91a0c (patch) | |
tree | ff355386926d587203de67da262eb3dfdad29eb9 | |
parent | 357f9b616896e1395e413d52eb09757d133294c7 (diff) | |
download | manachat-e0412867f95d2b1ad83453cf99cc0a2c21f91a0c.tar.gz manachat-e0412867f95d2b1ad83453cf99cc0a2c21f91a0c.tar.bz2 manachat-e0412867f95d2b1ad83453cf99cc0a2c21f91a0c.tar.xz manachat-e0412867f95d2b1ad83453cf99cc0a2c21f91a0c.zip |
changed bot/ to config/ directory
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | config/.placeholder (renamed from bot/.placeholder) | 0 | ||||
-rwxr-xr-x | plugins/manaboy.py | 12 |
3 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ #configuration files manachat.ini -bot/*.txt +config/*.txt #compiled python files *.pyc diff --git a/bot/.placeholder b/config/.placeholder index e69de29..e69de29 100755 --- a/bot/.placeholder +++ b/config/.placeholder diff --git a/plugins/manaboy.py b/plugins/manaboy.py index b145cdb..f9dea3f 100755 --- a/plugins/manaboy.py +++ b/plugins/manaboy.py @@ -33,11 +33,11 @@ def preloadArray(nfile): except: print "preloadArray: File " + nfile + " not found!" -joke_answers = preloadArray("bot/jokes.txt") -ignored_players = preloadArray("bot/ignored.txt") -disliked_players = preloadArray("bot/disliked.txt") -admins = preloadArray("bot/admins.txt") -friends = preloadArray("bot/friends.txt") +joke_answers = preloadArray("config/jokes.txt") +ignored_players = preloadArray("config/ignored.txt") +disliked_players = preloadArray("config/disliked.txt") +admins = preloadArray("config/admins.txt") +friends = preloadArray("config/friends.txt") # ====================== XECUTE ============= @@ -93,7 +93,7 @@ def XUdate(nick, message, is_whisper, match): XECUTE(nick, is_whisper, "/b def XUpom(nick, message, is_whisper, match): XECUTE(nick, is_whisper, "/usr/games/pom") # ====================== XCOM ============= -XCOMList = preloadArray("bot/XCOM.txt") +XCOMList = preloadArray("config/XCOM.txt") XCOMServerStatInterested = [] #List of nicks interested in server status change XCOMBroadcastPrefix = "##B##G " |