diff --git a/assets/drive.png b/assets/drive.png new file mode 100644 index 0000000..dacda5a Binary files /dev/null and b/assets/drive.png differ diff --git a/src/commands/faq.py b/src/commands/faq.py index 7164e8c..4052473 100644 --- a/src/commands/faq.py +++ b/src/commands/faq.py @@ -1,7 +1,7 @@ import datetime as dt import pytz from math import floor, ceil -from discord import app_commands, Interaction +from discord import app_commands, Interaction, File class FAQGroup(app_commands.Group): @@ -27,6 +27,12 @@ async def cpc(self, interaction: Interaction): ) await interaction.response.send_message(cpc_info) + @app_commands.command(name="drive", description="Access CS Club Drive") + async def drive(self, interaction: Interaction): + drive_info = "Access the CS Club Drive through your CS Club account at https://csclub.org.au/\n" + drive_image = File("assets/drive.png") + await interaction.response.send_message(drive_info, file=drive_image) + class FNGGroup(app_commands.Group): def __init__(self):