aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/resources/evergreen/game_recs/chrono_trigger.json7
-rw-r--r--bot/resources/evergreen/game_recs/digimon_world.json7
-rw-r--r--bot/resources/evergreen/game_recs/doom_2.json7
-rw-r--r--bot/resources/evergreen/game_recs/skyrim.json10
-rw-r--r--bot/seasons/evergreen/recommend_game.py14
5 files changed, 16 insertions, 29 deletions
diff --git a/bot/resources/evergreen/game_recs/chrono_trigger.json b/bot/resources/evergreen/game_recs/chrono_trigger.json
index cde74b70..963da43c 100644
--- a/bot/resources/evergreen/game_recs/chrono_trigger.json
+++ b/bot/resources/evergreen/game_recs/chrono_trigger.json
@@ -1,12 +1,7 @@
{
"title": "Chrono Trigger",
"recText": "One of the best games of all time. A brilliant story involving time-travel with loveable characters. It has a brilliant score by Yasonuri Mitsuda and artwork by Akira Toriyama. With over 20 endings and New Game+, there is a huge amount of replay value here.",
- "console": [
- "snes",
- "gba",
- "pc"
- ],
- "wikiLink": "https://chrono.fandom.com/wiki/Chrono_Trigger",
+ "wikiLink": "https://rawg.io/games/chrono-trigger-1995",
"image": "https://vignette.wikia.nocookie.net/chrono/images/2/24/Chrono_Trigger_cover.jpg",
"author": "352635617709916161"
} \ No newline at end of file
diff --git a/bot/resources/evergreen/game_recs/digimon_world.json b/bot/resources/evergreen/game_recs/digimon_world.json
index 86883e44..c5d93560 100644
--- a/bot/resources/evergreen/game_recs/digimon_world.json
+++ b/bot/resources/evergreen/game_recs/digimon_world.json
@@ -1,10 +1,7 @@
{
"title": "Digimon World",
- "recText": "A great mix of town-building and pet-raising set in the Digimon universe.",
- "console": [
- "ps1"
- ],
+ "recText": "A great mix of town-building and pet-raising set in the Digimon universe. With plenty of Digimon to raise and recruit to the village, this charming game will keep you occupied for a long time.",
"image": "https://www.mobygames.com/images/covers/l/437308-digimon-world-playstation-front-cover.jpg",
- "wikiLink": "https://digimon.fandom.com/wiki/Digimon_World",
+ "wikiLink": "https://rawg.io/games/digimon-world",
"author": "352635617709916161"
} \ No newline at end of file
diff --git a/bot/resources/evergreen/game_recs/doom_2.json b/bot/resources/evergreen/game_recs/doom_2.json
index e69de29b..3d4ec8fa 100644
--- a/bot/resources/evergreen/game_recs/doom_2.json
+++ b/bot/resources/evergreen/game_recs/doom_2.json
@@ -0,0 +1,7 @@
+{
+ "title": "Doom II",
+ "recText": "Doom 2 was one of the first FPS games that I truly enjoyed. It offered awesome weapons, terrifying demons to kill, and a great atmosphere to do it in.",
+ "image": "https://upload.wikimedia.org/wikipedia/en/thumb/2/29/Doom_II_-_Hell_on_Earth_Coverart.png/220px-Doom_II_-_Hell_on_Earth_Coverart.png",
+ "wikiLink": "https://rawg.io/games/doom-ii",
+ "author": "352635617709916161"
+} \ No newline at end of file
diff --git a/bot/resources/evergreen/game_recs/skyrim.json b/bot/resources/evergreen/game_recs/skyrim.json
index 7a6ef117..aaf8ebf9 100644
--- a/bot/resources/evergreen/game_recs/skyrim.json
+++ b/bot/resources/evergreen/game_recs/skyrim.json
@@ -1,15 +1,7 @@
{
"title": "Elder Scrolls V: Skyrim",
"recText": "The latest mainline Elder Scrolls game offered a fantastic role-playing experience with untethered freedom and a great story. Offering vast mod support, the game has endless customization and replay value.",
- "console": [
- "xbox 360",
- "ps3",
- "pc",
- "nintendo switch",
- "xbox one",
- "ps4"
- ],
"image": "https://upload.wikimedia.org/wikipedia/en/1/15/The_Elder_Scrolls_V_Skyrim_cover.png",
- "wikiLink": "https://elderscrolls.fandom.com/wiki/Skyrim",
+ "wikiLink": "https://rawg.io/games/the-elder-scrolls-v-skyrim",
"author": "352635617709916161"
} \ No newline at end of file
diff --git a/bot/seasons/evergreen/recommend_game.py b/bot/seasons/evergreen/recommend_game.py
index e4ad5392..45864336 100644
--- a/bot/seasons/evergreen/recommend_game.py
+++ b/bot/seasons/evergreen/recommend_game.py
@@ -27,22 +27,18 @@ class RecommendGame(commands.Cog):
game = game_recs.pop()
else:
game = game_recs.pop()
-
- embed = discord.Embed(
- title=game['title'],
- url=game['wikiLink'],
- color=discord.Colour.blue()
- )
-
author = self.bot.get_user(int(game['author']))
+
+ # Creating and formatting Embed
+ embed = discord.Embed(color=discord.Colour.blue())
embed.set_author(name=author.name, icon_url=author.avatar_url)
embed.set_image(url=game['image'])
- embed.add_field(name="Recommendation", value=game['recText'])
+ embed.add_field(name='Recommendation: ' + game['title'] + '\n' + game['wikiLink'], value=game['recText'])
await ctx.send(embed=embed)
def populate_recs(self):
- """Populates the game_recs list from resources."""
+ """Populates the list `game_recs` from resources."""
for file_url in os.listdir(DIR):
with Path(DIR, file_url).open(encoding='utf-8') as file:
data = json.load(file)