Move timer url to config
This commit is contained in:
@@ -435,8 +435,8 @@ class SubathonComponent(cmds.Component):
|
||||
score_time=timescore,
|
||||
timecap=timecap
|
||||
)
|
||||
# TODO: Add this to config not hardcode
|
||||
timer_link = f"https://izashi.thewisewolf.dev/tracker/timer?channelid={ctx.channel.id}"
|
||||
base_timer_url = self.bot.config.subathon['timer_url']
|
||||
timer_link = f"{base_timer_url}?channelid={ctx.channel.id}"
|
||||
await ctx.reply(f"Setup your {name}! Use !subathon resume to get the timer running. Your timer link: {timer_link}")
|
||||
await self.channel.send_updates(cid)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user