change prefix to m!

This commit is contained in:
hgw 2023-10-02 02:11:24 +00:00
parent cae800d5d8
commit bb5b8d56f8

4
bot.js
View File

@ -34,7 +34,7 @@ async function help(chan, sub) {
}
if (sub === "default") {
bot.say(chan, 'Mercury - https://git.supernets.org/hogwart7/mercury')
bot.say(chan, "r!set [OPTION] [VALUE] - run r!help set for details")
bot.say(chan, "m!set [OPTION] [VALUE] - run r!help set for details")
}
}
@ -79,7 +79,7 @@ async function godwords(chan, amt) {
bot.addListener('message', function(nick, to, text, from) {
var args = text.split(' ');
if (args[0] === 'r!help') {
if (args[0] === 'm!help') {
help(to, args[1]);
}
});