Skip to content

Commit

Permalink
feat: Add CS Club drive in FAQ (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 authored Oct 24, 2024
1 parent 405eb89 commit 9a09018
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file added assets/drive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion src/commands/faq.py
Original file line number Diff line number Diff line change
@@ -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):
Expand All @@ -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):
Expand Down

0 comments on commit 9a09018

Please sign in to comment.