8d971f89 by Barry

Removed unused json data files. Updated pankration and hellsbot.

1 parent 7825fa6d
No preview for this file type
1 {"<@49237234515181568>": {"<@47934670406422528>": {"delivery_time": "2047/08/11 18:39:12", "message": "ur a fgt", "user_id": "49237234515181568", "channel": "47934985176354816"}}, "<@121404665727418368>": {"<@47934670406422528>": {"delivery_time": "2016/12/02 16:54:33", "message": "I'm gay.", "user_id": "121404665727418368", "channel": "47934985176354816"}}, "<@48148712194576384>": {"<@121404665727418368>": {"delivery_time": "2019/02/03 02:38:24", "message": "u gay", "user_id": "48148712194576384", "channel": "47934985176354816"}}}
...\ No newline at end of file ...\ No newline at end of file
1 ["あなたのガールフレンドは、あなたの後ろの大きな黒い男とセックスを持っているし、それは非常に楽しんでいます。あなたは3年後、彼女はあなたが仕事であったが、それは毎日起こっている明らかにし、その時点でアウトになるまで見つけることができません。あなたはそこに彼女のためにされていないことをお詫びし、あなたと結婚するために彼女をお願いします。 wwwwwww", "Your future is looking grim, consider purchasing Fallout 4™", "あなたのガールフレンドは、あなたの後ろの大きな黒い男とセックスを持っているし、それは非常に楽しんでいます。あなたは3年後、彼女はあなたが仕事であったが、それは毎日起こっている明らかにし、その時点でアウトになるまで見つけることができません。あなたはそこに彼女のためにされていないことをお詫びし、あなたと結婚するために彼女をお願いします。 wwwwwww", "You are being cucked as you are reading this.", "In a world of immigration, censorship and equality... You are being cucked.", "Bright future, white future.", "Fortune Not Found: Abort, Retry, Ignore?", "Now would be a good time to get cucked.", "Come back later... I am sleeping.", "http://cdn.memegenerator.net/instances/400x/12009294.jpg", "Your Allagan Cane will drop next run.", "Your Allagan Cane will never drop.", "http://puu.sh/lFYCG/7f0cfb0004.jpg", "You could not be less interesting, but you are going to keep trying -- right?", "Xorfos will get his Dreadwyrm Axe someday.", "Reminder that Rui never beat Turn 13.", "Fallout 4 will win TGA 2015", "You will get a big fat futa cock up your ass soon.", "Your current problems will only get worse.", "Your cuck shed will see lots of activity in the near future.", "To do great things is difficult; but for you, it is impossible.", "When people tell you that you can't do something, they are probably right.", "There are now 23 nicknames going around for you; None of them are flattering. Tonight you're getting another one.", "Undertale will win TGA 2015", "You are going to develop http://puu.sh/lGFdS/71d497e8e8.gif", "You will go blind and your penis will shrivel by next week, but all can be prevented by inviting your friends & family to use Discord!", "Fortune smiles upon you! Goshzilla will be receiving his BBC into his ass shortly -- AND YOU GOT FRONT ROW SEAT.", "Miss Fortune demands that you play this http://store.steampowered.com/app/418010/", "Everything will be fire.", "Good bombings and many refugees will come to you but only if you post \"HILLARY 2016\" in this chat.", "You will marry 3dpd and have many ugly children. http://i.imgur.com/uNSz7B7.jpg","You will have a wonderful day filled with lollipops, candy canes, and a sense of entitlement."]
...\ No newline at end of file ...\ No newline at end of file
...@@ -88,11 +88,11 @@ registered_commands = {'!help': 'do_help', '!commands': 'do_help', ...@@ -88,11 +88,11 @@ registered_commands = {'!help': 'do_help', '!commands': 'do_help',
88 '!rigged': 'do_rigged', 88 '!rigged': 'do_rigged',
89 '!listzones': 'do_list_zones', 89 '!listzones': 'do_list_zones',
90 '!huntmonster': 'do_hunt_monster', '!hunt': 'do_hunt_monster', 90 '!huntmonster': 'do_hunt_monster', '!hunt': 'do_hunt_monster',
91 '!listskills': 'do_list_feral_skills', '!listferalskills': 'do_list_feral_skills', '!listferalskill': 'do_list_feral_skills', 91 '!skills': 'do_list_feral_skills', '!feralskills': 'do_list_feral_skills', '!feralskill': 'do_list_feral_skills',
92 '!listreflectors': 'do_list_reflectors', '!listreflector': 'do_list_reflectors', 92 '!reflectors': 'do_list_reflectors', '!reflector': 'do_list_reflectors',
93 '!listsoulplates': 'do_list_soul_plates', '!listsoulplate': 'do_list_soul_plates', 93 '!plates': 'do_list_soul_plates', '!soulplates': 'do_list_soul_plates', '!soulplate': 'do_list_soul_plates',
94 '!convert': 'do_convert_plate', '!convertplate': 'do_convert_plate', '!convertsoulplate': 'do_convert_plate', 94 '!convert': 'do_convert_plate', '!convertplate': 'do_convert_plate', '!convertsoulplate': 'do_convert_plate',
95 '!registerbattle': 'do_register_battle', 95 '!registerbattle': 'do_register_battle', '!battle': 'do_register_battle',
96 '!setreflectorname': 'do_set_reflector_name', 96 '!setreflectorname': 'do_set_reflector_name',
97 '!equip': 'do_equip_feral_skills', '!equipskill': 'do_equip_feral_skills', '!equipferalskill': 'do_equip_feral_skills', 97 '!equip': 'do_equip_feral_skills', '!equipskill': 'do_equip_feral_skills', '!equipferalskill': 'do_equip_feral_skills',
98 '!pankration': 'do_pankration', 98 '!pankration': 'do_pankration',
...@@ -1032,7 +1032,7 @@ def do_stars(client, message_parts, message): ...@@ -1032,7 +1032,7 @@ def do_stars(client, message_parts, message):
1032 1032
1033 def do_rigged(client, message_parts, message): 1033 def do_rigged(client, message_parts, message):
1034 lines = open('studylyrics.txt').read().splitlines() 1034 lines = open('studylyrics.txt').read().splitlines()
1035 send_message(client, message.channel, ":musical_note: {} :musical_note:".format(random.choice(lines))) 1035 send_message(client, message.channel, ":musical_note: {} :musical_note:".format(byteify(random.choice(lines))))
1036 return 1036 return
1037 1037
1038 #### PANKRATION 1038 #### PANKRATION
...@@ -1047,9 +1047,9 @@ def do_pankration(client, message_parts, message): ...@@ -1047,9 +1047,9 @@ def do_pankration(client, message_parts, message):
1047 **!hunt <zone>** - An attempt will be made to search for a soul plate (monster) in the zone specified. Each search costs a certain amount of credits. Each zone has a different cost. 1047 **!hunt <zone>** - An attempt will be made to search for a soul plate (monster) in the zone specified. Each search costs a certain amount of credits. Each zone has a different cost.
1048 1048
1049 *Viewing Your Inventory:* 1049 *Viewing Your Inventory:*
1050 **!listsoulplates** - Returns a list of all soul plates you have in your posession. 1050 **!soulplates** - Returns a list of all soul plates you have in your posession.
1051 **!listreflectors** - Returns a list of all reflectors you have in your posession (The available monsters you can fight with). 1051 **!reflectors** - Returns a list of all reflectors you have in your posession (The available monsters you can fight with).
1052 **!listferalskills** - Returns a list of all feral skills you have in your inventory 1052 **!skills** - Returns a list of all feral skills you have in your inventory
1053 1053
1054 *Editing Your Collections:* 1054 *Editing Your Collections:*
1055 **!convert <plate number> <convert_to>** - From the list of soul plates you can choose to either convert the plate into a \"reflector\" or \"skill\". 1055 **!convert <plate number> <convert_to>** - From the list of soul plates you can choose to either convert the plate into a \"reflector\" or \"skill\".
...@@ -1059,8 +1059,8 @@ def do_pankration(client, message_parts, message): ...@@ -1059,8 +1059,8 @@ def do_pankration(client, message_parts, message):
1059 **!setreflectorname <reflector number> <name>** - This will rename a monster in your collection to a custom name. 1059 **!setreflectorname <reflector number> <name>** - This will rename a monster in your collection to a custom name.
1060 1060
1061 *Arena Battle:* 1061 *Arena Battle:*
1062 **!registerbattle <reflector number>** - Adds your reflector to the queue in the arena. When the arena is available your monster will be paired with either another players monster or a similarly matched arena monster. 1062 **!battle <reflector number>** - Adds your reflector to the queue in the arena. When the arena is available your monster will be paired with either another players monster or a similarly matched arena monster.
1063 **!registerbattle <reflector number> <player name>** - If you want to challenge a specific user to a battle just provide their user name. Have them do the same and your battle will start when the arena is available. 1063 **!battle <reflector number> <player name>** - If you want to challenge a specific user to a battle just provide their user name. Have them do the same and your battle will start when the arena is available.
1064 1064
1065 """.format(message.author.mention())) 1065 """.format(message.author.mention()))
1066 1066
...@@ -1078,7 +1078,7 @@ def do_set_reflector_name(client, message_parts, message): ...@@ -1078,7 +1078,7 @@ def do_set_reflector_name(client, message_parts, message):
1078 reflectors = pickle.loads(str(pankration_data['reflectors'])) 1078 reflectors = pickle.loads(str(pankration_data['reflectors']))
1079 1079
1080 if not reflector_num.isdigit() or int(reflector_num) < 1 or int(reflector_num) > len(reflectors): 1080 if not reflector_num.isdigit() or int(reflector_num) < 1 or int(reflector_num) > len(reflectors):
1081 send_message(client, message.channel, 'The requested reflector is invalid. Please provide the number from !listreflectors') 1081 send_message(client, message.channel, 'The requested reflector is invalid. Please provide the number from !reflectors')
1082 return 1082 return
1083 reflector_num = int(reflector_num) - 1 1083 reflector_num = int(reflector_num) - 1
1084 reflectors[reflector_num].set_monster_name(new_name) 1084 reflectors[reflector_num].set_monster_name(new_name)
...@@ -1100,7 +1100,7 @@ def do_register_battle(client, message_parts, message): ...@@ -1100,7 +1100,7 @@ def do_register_battle(client, message_parts, message):
1100 reflectors = pickle.loads(str(pankration_data['reflectors'])) 1100 reflectors = pickle.loads(str(pankration_data['reflectors']))
1101 1101
1102 if not reflector_num.isdigit() or int(reflector_num) < 1 or int(reflector_num) > len(reflectors): 1102 if not reflector_num.isdigit() or int(reflector_num) < 1 or int(reflector_num) > len(reflectors):
1103 send_message(client, message.channel, 'The requested reflector is invalid. Please provide the number from !listreflectors') 1103 send_message(client, message.channel, 'The requested reflector is invalid. Please provide the number from !reflectors')
1104 return 1104 return
1105 reflector_num = int(reflector_num) - 1 1105 reflector_num = int(reflector_num) - 1
1106 1106
...@@ -1117,7 +1117,7 @@ def do_register_battle(client, message_parts, message): ...@@ -1117,7 +1117,7 @@ def do_register_battle(client, message_parts, message):
1117 data.db_register_battle(member['member_id'], reflectors[reflector_num], reflector_num) 1117 data.db_register_battle(member['member_id'], reflectors[reflector_num], reflector_num)
1118 send_message(client, message.channel, "Your *{} level {}* has been registered for battle. The battle will begin when the arena is availble with the next challenger".format(reflectors[reflector_num].get_monster_name(), reflectors[reflector_num].level)) 1118 send_message(client, message.channel, "Your *{} level {}* has been registered for battle. The battle will begin when the arena is availble with the next challenger".format(reflectors[reflector_num].get_monster_name(), reflectors[reflector_num].level))
1119 else: 1119 else:
1120 send_message(client, message.channel, 'You have no available reflectors. You can get reflectors by converting soul plates with !convertplate') 1120 send_message(client, message.channel, 'You have no available reflectors. You can get reflectors by converting soul plates with !convert')
1121 return 1121 return
1122 1122
1123 1123
...@@ -1140,25 +1140,28 @@ def do_convert_plate(client, message_parts, message): ...@@ -1140,25 +1140,28 @@ def do_convert_plate(client, message_parts, message):
1140 1140
1141 soul_plates = pickle.loads(str(pankration_data['soul_plates'])) 1141 soul_plates = pickle.loads(str(pankration_data['soul_plates']))
1142 if not plate_num.isdigit() or int(plate_num) < 1 or int(plate_num) > len(soul_plates): 1142 if not plate_num.isdigit() or int(plate_num) < 1 or int(plate_num) > len(soul_plates):
1143 send_message(client, message.channel, 'The requested plate is invalid. Please provide the number from !listsoulplates') 1143 send_message(client, message.channel, 'The requested plate is invalid. Please provide the number from !plates')
1144 return 1144 return
1145 plate_num = int(plate_num) - 1 1145 plate_num = int(plate_num) - 1
1146 if convert_to == "reflector": 1146 if convert_to == "reflector":
1147 # do reflector stuff 1147 # do reflector stuff
1148 if data.db_convert_soul_plate_to_reflector(member['member_id'], soul_plates[plate_num], plate_num): 1148 if data.db_convert_soul_plate_to_reflector(member['member_id'], soul_plates[plate_num], plate_num):
1149 send_message(client, message.channel, 'The soul plate was successfully converted into an official reflector. To view your reflectors: !listreflectors') 1149 send_message(client, message.channel, 'The soul plate was successfully converted into an official reflector. To view your reflectors: !reflectors')
1150 return
1150 else: 1151 else:
1151 send_message(client, message.channel, 'There was an issue converting your soul plate...Conversion failed.') 1152 send_message(client, message.channel, 'There was an issue converting your soul plate...Conversion failed.')
1153 return
1152 elif convert_to == "skill": 1154 elif convert_to == "skill":
1153 soul_plates[plate_num].convert_to_feral_skill() 1155 soul_plates[plate_num].convert_to_feral_skill()
1154 skill = soul_plates[plate_num].convert_to_feral_skill() 1156 skill = soul_plates[plate_num].convert_to_feral_skill()
1155 if not skill: 1157 if not skill:
1156 send_message(client, message.channel, 'The conversion **failed** the soul plate has been destroyed in the process.') 1158 send_message(client, message.channel, 'The conversion **failed** the soul plate has been destroyed in the process.')
1159 return
1157 else: 1160 else:
1158 send_message(client, message.channel, 'Congratulations! The soul plate was converted to feral skill: **{}**'.format(byteify(skill))) 1161 send_message(client, message.channel, 'Congratulations! The soul plate was converted to feral skill: **{}**'.format(byteify(skill)))
1159 data.db_convert_soul_plate_to_skill(member['member_id'], soul_plates[plate_num], plate_num, skill) 1162 data.db_convert_soul_plate_to_skill(member['member_id'], soul_plates[plate_num], plate_num, skill)
1160 do_list_feral_skills(client, message_parts, message) 1163 do_list_feral_skills(client, message_parts, message)
1161 pass 1164 return
1162 else: 1165 else:
1163 send_message(client, message.channel, 'A plate can only be converted into a reflector or skill. Please see !pankration for an example.') 1166 send_message(client, message.channel, 'A plate can only be converted into a reflector or skill. Please see !pankration for an example.')
1164 return 1167 return
...@@ -1210,11 +1213,11 @@ def do_equip_feral_skills(client, message_parts, message): ...@@ -1210,11 +1213,11 @@ def do_equip_feral_skills(client, message_parts, message):
1210 feral_skills = pickle.loads(str(pankration_data['feral_skills'])) 1213 feral_skills = pickle.loads(str(pankration_data['feral_skills']))
1211 1214
1212 if not skill_num.isdigit() or int(skill_num) < 1 or int(skill_num) > len(feral_skills): 1215 if not skill_num.isdigit() or int(skill_num) < 1 or int(skill_num) > len(feral_skills):
1213 send_message(client, message.channel, 'The requested feral skill is invalid. Please provide the number from !listferalskills') 1216 send_message(client, message.channel, 'The requested feral skill is invalid. Please provide the number from !skills')
1214 return 1217 return
1215 skill_num = int(skill_num) - 1 1218 skill_num = int(skill_num) - 1
1216 if not reflector_num.isdigit() or int(reflector_num) < 1 or int(reflector_num) > len(reflectors): 1219 if not reflector_num.isdigit() or int(reflector_num) < 1 or int(reflector_num) > len(reflectors):
1217 send_message(client, message.channel, 'The requested reflector is invalid. Please provide the number from !listreflectors') 1220 send_message(client, message.channel, 'The requested reflector is invalid. Please provide the number from !reflectors')
1218 return 1221 return
1219 reflector_num = int(reflector_num) - 1 1222 reflector_num = int(reflector_num) - 1
1220 1223
......
1 ["What's your name?\", asked the teacher.\n\"Mohammad,\" he replied.\n\"You're in Ireland now,\" replied the teacher, \"So from now on you will be known as Mike.\n\" Mohammad returned home after school.\n\"How was your day, Mohammad?\", his mother asked.\n\"My name is not Mohammad. I'm in Ireland and now my name is Mike”.\n\"Are you ashamed of your name? Are you trying to dishonor your parents, your heritage, your religion? Shame on you!\"\nAnd his mother beat the shit out of him. Then she called his father, who beat the shit out of him again.\nThe next day Mohammad returned to school. The teacher saw all of his fresh bruises.\n\"What happened to you, Mike?\", she asked.\n\"Well shortly after becoming an Irishman, I was attacked by two fucking Arabs.\"", "What does a Jew with an erection get when he walks into a wall? A broken nose.", "What’s the difference between a Catholic priest and acne? Acne doesn’t come on a boys face until he’s 13.", "What does a baby look like after a minute in the microwave? I don’t know, I close my eyes when I masturbate.", "I lost my virginity to a retarded girl last night… I wanted my first time to be special.", "What’s the difference between jam and jelly? I don’t jelly my cock down a bitches throat.", "What do you get if you cross an elephant with a poodle? A dead poodle with an 18 inch wide asshole.", "Why do Jewish girls like to fuck doggy style? They can’t stand to see somebody else have a good time.", "What’s the difference between a British man and his girlfriend? His girlfriend has a higher sperm count.", "How do you know if a Chinese person robs your house? Your homework is done, your computer is upgraded, but two hours later, the fucker is still trying to back out of your driveway.", "What do you call five Mexicans on the bottom of a pool? Cinco", "What did the little Mexican boy (Rui) get for Christmas? My bike.", "How do you kill a redneck? Wait ’till he fucks his sister then cut the brakes on his house.", "What did the kid with no arms get for Christmas?\nA pair of gloves.\nNah just kidding, he's still trying to open his gifts.", "What's black and sits at the top of a staircase?\nStephen Hawking after a house fire.", "What do you call a 5 year old with no friends?\nA sandy hook survivor.", "What's the difference between a Pakistani elementary school and an Al Qaeda base?\nI don't know, I just fly the fucking drone, man.", "What's the difference between food and ebola?\nAfricans get ebola.", "What do you do when your dishwasher doesn't work?\nSlap her.", "http://puu.sh/lSo0C/fcf7ccaed0.jpg", "A man sees a young boy standing at the side of a cliff, looking down.\n\"What's wrong?\" Asks the man.\n\"My parents car skidded and they fell off the cliff.\" Says the crying boy. \n\"Well this just isn't your day is it.\" The man says as he unbuttons his pants.", "I went to my doctor for a checkup last week.\n\"You need to stop masturbating.\" He said.\n\"Why?\"\n\"Because I'm trying to examine you.\"", "I was having sex with a woman last night, and she wouldn't stop calling out another mans name. Who the hell is \"rape\"?", "I don't understand terrorists. They kill themselves to get 72 virgins when they could just become priests and get them now", "Unsure of what to get your girlfriend for Christmas? Get her a pair of shoes and a dildo. If she doesn't like the shoes, she can go fuck herself.", "http://i.imgur.com/BH1kwTG.jpg", "To most Christians, the Bible is like a EULA. Nobody actually reads it, they just skip to the end and say 'I agree'", "When is a fruit also a vegetable? \nWhenever you go into a coma.", "[✓] I'm not a robot", "Goshzilla's height", "I don't find health-related puns funny anymore since I started suffering from an irony deficiency", "I used to be addicted to the Hokey Pokey, but then I turned myself around.", "Roses are red, violets are blue, @rui is a cuck, and so are you", "Did you hear about the guy who got hit in the head with a can of soda? He was lucky it was a soft drink.", "http://puu.sh/mqCuh/d4e52790c7.jpg"]
...\ No newline at end of file ...\ No newline at end of file