15 lines
323 B
Python
Executable File
15 lines
323 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Pings everyone in the channel.
|
|
"""
|
|
from module import commands
|
|
|
|
@commands('pingall', 'names')
|
|
def pingAll(bot, trigger):
|
|
"""
|
|
Says the nick of everyone in the channel. Great way to get thier
|
|
attention, or just annoy them.
|
|
"""
|
|
msg = " ".join(bot.channels[trigger.channel].users)
|
|
bot.say(msg)
|