17 lines
354 B
Python
Executable File
17 lines
354 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Pings everyone in the channel.
|
|
"""
|
|
import module
|
|
|
|
@module.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 = ""
|
|
for name in bot.privileges[trigger.sender].keys():
|
|
msg += name + ' '
|
|
bot.say(msg.strip())
|