Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 262 Bytes
# coding=utf-8
"""
do.py
Made by Roni Laukkarinen
"""
import sopel.module
import random
@sopel.module.commands('do', 'keksi', 'tekemistä')
def do(bot, trigger):
does = random.choice(list(open('/home/rolle/.sopel/modules/tekemiset.txt')))
bot.say(does)
You can’t perform that action at this time.