Begin implementing aiohttp

This commit is contained in:
2022-09-04 13:47:32 +01:00
parent 734a2b7879
commit f7860bf08b
11 changed files with 392 additions and 118 deletions

19
schemas/dis_s.py Normal file
View File

@@ -0,0 +1,19 @@
ATTRMAP = {
"msg": "content",
"msg_id": "id",
"nick": "author.name",
"host": "author.discriminator",
"ident": "author.nick",
"time": "created_at",
"channel": "channel.name",
"channel_nsfw": "channel.nsfw",
"bot": "author.bot",
"nick_id": "author.id",
"channel_id": "channel.id",
"net": "author.guild.name",
"net_id": "author.guild.id",
"guild_member_count": "author.guild.member_count",
"channel_category": "channel.category.name",
"channel_category_id": "channel.category.id",
"channel_category_nsfw": "channel.category.nsfw",
}