diff --git a/Gwendolyn.py b/Gwendolyn.py index 152b31d..fd374ba 100644 --- a/Gwendolyn.py +++ b/Gwendolyn.py @@ -279,7 +279,7 @@ async def on_message(message): # Is a bit sassy sometimes - meanWords = ["stupid", "bitch", "fuck"] + meanWords = ["stupid", "bitch", "fuck", "dumb", "idiot"] if ("gwendolyn" in message.content.lower() or message.content.startswith("!")) and any(x in message.content.lower() for x in meanWords) and "ikke" not in message.content.lower() and "not" not in message.content.lower(): funcs.logThis(message.author.name+" was a bit mean") emoji = random.choice(["😠", "🖕", "👎"]) diff --git a/README.md b/README.md index 4f83995..06d99a0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,17 @@ Gwendolyn is a discord bot that I made. It does a bunch of stuff. +## Stuff it can do +Roll dice! +Look up D&D monsters and spells! +Find random pictures! +Find random movies! +Generate names for taverns and people! +Roll Star Wars RPG dice! +Keep track of Star Wars RPG character sheets! + +And much more!!! (not really. That's pretty much all it can do. See help files in resources directory for list of commands) + ## Setup -Create a file named "token.txt" that contains your bot token. +Running gwendolyn.py will help you set up. You will need a bot token on hand, which you should paste into your terminal when prompted. diff --git a/funcs/gwendolynFuncs.py b/funcs/gwendolynFuncs.py index d945d50..dabae05 100644 --- a/funcs/gwendolynFuncs.py +++ b/funcs/gwendolynFuncs.py @@ -162,9 +162,10 @@ def makeFiles(): try: f = open("token.txt","r") except: - logThis("token.txt didn't exist. Write your bot token in the file.") - with open("resources/token.txt","w") as f: - f.write("Replace this line with bot token") + logThis("token.txt didn't exist. Write your bot token below, or in token.txt later.") + token = input() + with open("token.txt","w") as f: + f.write(token) finally: f.close() \ No newline at end of file diff --git a/token2.txt b/token2.txt new file mode 100644 index 0000000..3cd46bf --- /dev/null +++ b/token2.txt @@ -0,0 +1 @@ +MzgwNzI4OTkwMTEwODQyODgx.XoC1ng.2DJBNidZQiP_2JoZYsJ77ZRoipE \ No newline at end of file