async def insert_channel(pg, channel_id, guild_id):
	await pg.execute("INSERT INTO channel(channel_id, guild) VALUES($1, $2)", channel_id, guild_id)

async def get_interact(pg, channel_id):
	return await pg.fetchval("SELECT interact FROM channel WHERE channel_id=$1::bigint", channel_id)