bmintz 24c0946a93 bot.unload_extension: also allow events with no module
It turns out that events created in an eval command also cause
the issue described in #1506.

Ensure that events we remove are part of a module as well.

Also performs minor comment maintenance
("x", "first y", "then z") -> ("x", "y", "z")
2018-11-24 22:51:16 -05:00
..
2018-01-26 12:46:19 -05:00
2018-11-24 22:17:58 -05:00
2018-11-24 22:17:58 -05:00
2018-11-24 22:17:58 -05:00
2018-09-14 22:55:27 -04:00
2018-11-24 22:17:58 -05:00
2018-11-24 22:36:52 -05:00
2018-08-22 21:06:09 -04:00
2018-01-06 17:23:59 -05:00
2018-11-24 22:17:58 -05:00
2018-11-24 22:36:52 -05:00
2018-11-24 22:17:58 -05:00
2018-11-24 22:38:49 -05:00
2017-01-20 23:19:19 -05:00
2018-11-24 22:17:58 -05:00
2018-08-22 21:43:50 -04:00
2018-11-24 22:36:52 -05:00
2018-11-24 22:17:58 -05:00
2018-11-24 22:17:58 -05:00
2018-11-24 22:17:58 -05:00