1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Fix missing reference

This commit is contained in:
Steffo 2020-05-19 18:00:06 +02:00
parent 6f67d16452
commit b43cc260d7
Signed by: steffo
GPG key ID: 896A80F55F7C97F0

View file

@ -2,7 +2,7 @@ import asyncio as aio
import logging import logging
import warnings import warnings
from typing import * from typing import *
import royalnet.backpack as rb import royalnet.backpack.tables as rbt
import royalnet.commands as rc import royalnet.commands as rc
from royalnet.utils import asyncify from royalnet.utils import asyncify
from royalnet.serf import Serf from royalnet.serf import Serf
@ -18,7 +18,7 @@ class DiscordSerf(Serf):
"""A :class:`Serf` that connects to `Discord <https://discordapp.com/>`_ as a bot.""" """A :class:`Serf` that connects to `Discord <https://discordapp.com/>`_ as a bot."""
interface_name = "discord" interface_name = "discord"
_identity_table = rb.tables.Discord _identity_table = rbt.Discord
_identity_column = "discord_id" _identity_column = "discord_id"
def __init__(self, def __init__(self,