1
0
Fork 0

remove mentionable switch since discord can do that now

master
an 2020-02-29 21:33:20 -05:00
Ursprung 0af5981abe
Commit 0f003e262d
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -67,13 +67,11 @@ class Mod_DTL < Vrobot4::Module::Module
ids = get_notification_roles m, argv[0]
if m.user.real.role? ids[:dev]
notif = m.chan.real.server.role ids[:not]
notif.mentionable = true
if argv[1]
m.reply "#{notif.mention} - #{argv[1].strip}"
else
m.reply notif.mention
end
notif.mentionable = false
else
m.reply "You don't have permission for that."
end