Also fixes some bugs with using stop_propagation instead of stop_processing in events (the former does absolutely nothing). Added a skeleton file to assist with adding new roles, contains the needed imports on top and vim modeline on the bottom. Yes, these are all related and need to go in the same commit, stop throwing things at me.
18 lines
420 B
Python
18 lines
420 B
Python
import re
|
|
import random
|
|
import itertools
|
|
import math
|
|
from collections import defaultdict
|
|
|
|
import botconfig
|
|
import src.settings as var
|
|
from src.utilities import *
|
|
from src import debuglog, errlog, plog
|
|
from src.decorators import cmd, event_listener
|
|
from src.messages import messages
|
|
from src.events import Event
|
|
|
|
# Skeleton file for new roles, basically to get all the imports right and stuff
|
|
|
|
# vim: set sw=4 expandtab:
|