Compare commits
No commits in common. "7c6b66660e54d4acfe9fe3c93094ebf5eb8a1086" and "9ddba0d9b1887485b4efc5abd35a0ee18e62a1c3" have entirely different histories.
7c6b66660e
...
9ddba0d9b1
@ -8,7 +8,7 @@ from interactions.api.events import Startup
|
|||||||
from token_bot.token_database import database as pdb
|
from token_bot.token_database import database as pdb
|
||||||
from token_bot.token_database import database as tdb
|
from token_bot.token_database import database as tdb
|
||||||
|
|
||||||
VERSION = "0.9.2"
|
VERSION = "0.9.1"
|
||||||
|
|
||||||
|
|
||||||
class Core(Extension):
|
class Core(Extension):
|
||||||
|
@ -77,8 +77,6 @@ class Tracker(Extension):
|
|||||||
users_alerts[user] = [alert]
|
users_alerts[user] = [alert]
|
||||||
else:
|
else:
|
||||||
users_alerts[user].append(alert)
|
users_alerts[user].append(alert)
|
||||||
if users_alerts:
|
|
||||||
self.bot.logger.log(logging.INFO, "TokenBot Tracker: Processing User Alerts")
|
|
||||||
for user in users_alerts:
|
for user in users_alerts:
|
||||||
discord_user = await self.bot.fetch_user(user.user_id)
|
discord_user = await self.bot.fetch_user(user.user_id)
|
||||||
embeds = [
|
embeds = [
|
||||||
@ -98,8 +96,6 @@ class Tracker(Extension):
|
|||||||
)
|
)
|
||||||
|
|
||||||
await discord_user.send(embeds=embeds)
|
await discord_user.send(embeds=embeds)
|
||||||
self.bot.logger.log(logging.INFO, "TokenBot Tracker: Done Processing User Alerts")
|
|
||||||
|
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
# Slash Commands #
|
# Slash Commands #
|
||||||
|
Loading…
Reference in New Issue
Block a user