2015-06-13 13:07:52 -05:00
|
|
|
"""Forms for doing ircbot stuff."""
|
|
|
|
|
|
|
|
import logging
|
|
|
|
|
2017-02-12 11:39:40 -06:00
|
|
|
from django.forms import Form, CharField, Textarea
|
2015-06-13 13:07:52 -05:00
|
|
|
|
|
|
|
log = logging.getLogger('markov.forms')
|
|
|
|
|
|
|
|
|
|
|
|
class PrivmsgForm(Form):
|
|
|
|
|
|
|
|
"""Accept a privmsg to send to the ircbot."""
|
|
|
|
|
|
|
|
target = CharField()
|
2017-02-12 11:39:40 -06:00
|
|
|
message = CharField(widget=Textarea)
|