this moves the dispatcher functionality that used to be in the old ircbot directly to django REST framework, which is more robust and allows for cooler stuff down the road. this still retains the ability to have the bot privmsg, that still happens over the XML-RPC interface, this is just a more convenient frontend to that
9 lines
161 B
Python
9 lines
161 B
Python
"""Manage dispatch models in the admin interface."""
|
|
|
|
from django.contrib import admin
|
|
|
|
from dispatch.models import Dispatcher
|
|
|
|
|
|
admin.site.register(Dispatcher)
|