-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmecds.py
23 lines (23 loc) · 1.11 KB
/
smecds.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""
66SMECDS
"""
import core, random
PLUGINVERSION = 2
# Always name this variable as `plugin`
# If you dont, module loader will fail to load the plugin!
plugin = core.Plugin()
stagismo = ["dello stagista", "degli sposi", "di Santinelli", "di Sensei", "di Steffo", "di Spaggia",
"della sedia", "di Satana", "del Sangue (degli occhi di Adry)", "del Sale",
"del Serpente", "della Samsung", "di smecds", "della succursale", "di succ",
"di Sans", "di [SiivaGunner](https://www.youtube.com/channel/UC9ecwl3FTG66jIKA9JRDtmg)",
"di saaaaaas", "del semaforo", "della Seriale", "di Sistemi", "della Supercell",
"di Santaclaus", "dei Sims", "dei Santi", "di SES2017", "di Salvini", "della scolopendra"]
random.seed()
@plugin.message(regex="(?i).*(smecds)") # You pass regex pattern
def smecds(bot, update):
ds = random.choice(stagismo)
return core.message(text="Secondo me é colpa "+ds)
#@plugin.message(regex="(?i).*(s[aeiou]s)")
@plugin.message(regex="(?is)(?:^s[aeiou]s\s|.*s[aeiou]s\s|.*s[aeiou]s$|^s[aeiou]s$)")
def sas(bot,update):
return core.message(text="Sassi")