mirror of
https://github.com/Ratstail91/SANCTUM.git
synced 2025-11-29 10:34:26 +11:00
BUGFIX: Replaced userID with user in messaging.js
This commit is contained in:
@@ -21,7 +21,7 @@ client.on("disconnect", function() {
|
||||
|
||||
client.on("message", function(msg) {
|
||||
//only react to commands
|
||||
if (msg.content.slice(0, 1) != "!") {
|
||||
if (msg.content.slice(0, 1) !== process.env.PREFIX) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -39,4 +39,4 @@ client.on("message", function(msg) {
|
||||
});
|
||||
|
||||
//actually log in
|
||||
client.login("TOKEN");
|
||||
client.login(process.env.DEVELOPER_TOKEN);
|
||||
Reference in New Issue
Block a user