mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-30 15:04:18 +00:00
Discordsentry integration, stuff, more stuff
This commit is contained in:
parent
6b1ad32f7c
commit
baf9d2ad15
1 changed files with 5 additions and 0 deletions
|
@ -183,6 +183,11 @@ async def on_message(message: discord.Message):
|
|||
await loop.run_in_executor(executor, session.commit)
|
||||
else:
|
||||
sentry.user_context({
|
||||
"discord": {
|
||||
"discord_id": message.author.id,
|
||||
"name": message.author.name,
|
||||
"discriminator": message.author.discriminator
|
||||
},
|
||||
"royal": {
|
||||
"user_id": user.royal_id
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue