Compare commits
No commits in common. "ceaabe3daca31eef8b0daa6fc04b24b9a80f58c0" and "aa58f775ab0f0b79e81b92527dffd6203de08e67" have entirely different histories.
ceaabe3dac
...
aa58f775ab
@ -38,7 +38,6 @@ from token_bot.ui.select_menus.alert_menu import HIGH_ALERT_MENU, LOW_ALERT_MENU
|
|||||||
from token_bot.ui.select_menus.flavor_menu import FLAVOR_MENU
|
from token_bot.ui.select_menus.flavor_menu import FLAVOR_MENU
|
||||||
from token_bot.ui.select_menus.region_menu import REGION_MENU
|
from token_bot.ui.select_menus.region_menu import REGION_MENU
|
||||||
|
|
||||||
|
|
||||||
#### Static Helper Functions
|
#### Static Helper Functions
|
||||||
|
|
||||||
|
|
||||||
@ -81,7 +80,7 @@ class Tracker(Extension):
|
|||||||
discord_user = await self.bot.fetch_user(user.user_id)
|
discord_user = await self.bot.fetch_user(user.user_id)
|
||||||
embeds = [
|
embeds = [
|
||||||
Embed(
|
Embed(
|
||||||
title="GoblinBot Tracker Alert Triggered",
|
title="TokenBot Tracker Alert Triggered",
|
||||||
color=0xB10000,
|
color=0xB10000,
|
||||||
description=f"Hello, you requested to be sent an alert when the price of the World of Warcraft "
|
description=f"Hello, you requested to be sent an alert when the price of the World of Warcraft "
|
||||||
f"token reaches a certain value.\n\n"
|
f"token reaches a certain value.\n\n"
|
||||||
@ -204,7 +203,7 @@ class Tracker(Extension):
|
|||||||
name="remove-alert", description="Remove an alert you have signed up for"
|
name="remove-alert", description="Remove an alert you have signed up for"
|
||||||
)
|
)
|
||||||
async def remove_alert(self, ctx: SlashContext):
|
async def remove_alert(self, ctx: SlashContext):
|
||||||
if not await self._user_is_registered(ctx):
|
if not self._user_is_registered(ctx):
|
||||||
return
|
return
|
||||||
user = await self._users.get(ctx.user.id)
|
user = await self._users.get(ctx.user.id)
|
||||||
alerts = await self._users.list_alerts(user)
|
alerts = await self._users.list_alerts(user)
|
||||||
|
Loading…
Reference in New Issue
Block a user