mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Remove discriminators
This commit is contained in:
parent
3a0d77c128
commit
8ce34f4386
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="dataSourceStorageLocal" created-in="PY-231.9161.41">
|
||||
<component name="dataSourceStorageLocal" created-in="PY-232.8660.197">
|
||||
<data-source name="main" uuid="28efee07-d306-4126-bf69-01008b4887e2">
|
||||
<database-info product="SQLite" version="3.39.2" jdbc-version="2.1" driver-name="SQLite JDBC" driver-version="3.39.2.0" dbms="SQLITE" exact-version="3.39.2" exact-driver-version="3.39">
|
||||
<identifier-quote-string>"</identifier-quote-string>
|
||||
|
|
|
@ -368,7 +368,7 @@ class Events(commands.Cog):
|
|||
|
||||
if message.channel.name == "femboy-hole":
|
||||
payload = {
|
||||
"author": str(message.author),
|
||||
"author": message.author.name,
|
||||
"content": message.content,
|
||||
"at": message.created_at.timestamp(),
|
||||
"attachments": [
|
||||
|
@ -383,6 +383,8 @@ class Events(commands.Cog):
|
|||
for a in message.attachments
|
||||
]
|
||||
}
|
||||
if message.author.discriminator:
|
||||
payload["author"] += '#%s' % message.author.discriminator
|
||||
try:
|
||||
self.bot.bridge_queue.put_nowait(payload)
|
||||
except asyncio.QueueFull:
|
||||
|
|
Loading…
Reference in a new issue