Begin implementing aiohttp
This commit is contained in:
@@ -6,25 +6,7 @@ import discord
|
||||
import db
|
||||
import util
|
||||
|
||||
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",
|
||||
"user_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",
|
||||
}
|
||||
from schemas.dis_s import ATTRMAP
|
||||
|
||||
|
||||
class DiscordClient(discord.Client):
|
||||
|
||||
Reference in New Issue
Block a user