From 611a5fd0e72202bcd11fdfcb23e1c437d9f935b3 Mon Sep 17 00:00:00 2001 From: "jcao219@gmail.com" Date: Fri, 21 Sep 2012 01:05:48 +0000 Subject: [PATCH] make the rules display the channel specified in the botconfig.py file (thanks vgr) --- settings/wolfgame.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/settings/wolfgame.py b/settings/wolfgame.py index 1bf8ef8..3d825c5 100644 --- a/settings/wolfgame.py +++ b/settings/wolfgame.py @@ -72,7 +72,10 @@ LYNCH_MESSAGES = ("The villagers, after much debate, finally decide on lynching "Under a lot of noise, the pitchfork-bearing villagers lynch \u0002{0}\u0002, who turned out to be... a \u0002{1}\u0002.", "The mob drags a protesting \u0002{0}\u0002 to the hanging tree. S/He succumbs to the will of the horde, and is hanged. It is discovered (s)he was a \u0002{1}\u0002.", "Resigned to his/her fate, \u0002{0}\u0002 is led to the gallows. After death, it is discovered (s)he was a \u0002{1}\u0002.") -RULES = ("#wolfgame channel rules: 1) Be nice to others. 2) Do not share information "+ + +import botconfig + +RULES = (botconfig.CHANNEL + " channel rules: 1) Be nice to others. 2) Do not share information "+ "after death. 3) No bots allowed. 4) Do not play with clones.\n"+ "5) Do not quit unless you need to leave. 6) No swearing and keep it "+ "family-friendly. 7) Do not paste PM's from the bot during the game. "+