diff --git a/cogs/fun.py b/cogs/fun.py index 64a63c6..6ab9072 100644 --- a/cogs/fun.py +++ b/cogs/fun.py @@ -88,7 +88,7 @@ async def funfact_cmd(interaction): await session.close() @discohook.command.slash('randomgif', description = 'Get a free cool gif from my gifs.') -async def funfact_cmd(interaction): +async def randomgif_cmd(interaction): gifs = ["https://cdn.discordapp.com/attachments/1366521106940559470/1499180770500280320/image0.gif ", "https://cdn.discordapp.com/attachments/1478830458950127797/1499169563064008804/togif.30a22110.gif", "https://cdn.discordapp.com/attachments/1474959610564841706/1517008268487299092/attachment.gif", @@ -98,5 +98,5 @@ async def funfact_cmd(interaction): "https://cdn.discordapp.com/attachments/1520142568837353572/1520888335902572695/youre_pin_-_gigachadtrey.gif" ] - interaction.response.send(random.choices(gifs) + "\n **heres ur tuff gif**") + interaction.response.send(random.choice(gifs) + "\n **heres ur tuff gif**") \ No newline at end of file diff --git a/main.py b/main.py index 3d04a12..e499764 100644 --- a/main.py +++ b/main.py @@ -51,7 +51,8 @@ def run(): decide_command, rps_command, gtn_command, - funfact_cmd + funfact_cmd, + randomgif_cmd ) return app