change prefix to m!
This commit is contained in:
parent
cae800d5d8
commit
bb5b8d56f8
4
bot.js
4
bot.js
@ -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]);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user