-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ready is not working #1504
Labels
Comments
Gonna need more info than that. What's your code look like? |
is there a way to make it work with user accounts ? const Eris = require("eris");
const { url } = require("inspector");
const { type } = require("os");
const bot = new Eris(
"account token"
);
bot.on("ready", () => {
console.log("Online 👍");
});
bot.on("messageCreate", (message) => {
if (message.content === "!Ping") {
console.log("Online 👍");
bot.createMessage(message.channel.id, "Pong!");
}
});
bot.connect(); |
User account token or bot token? |
user account |
You do realise that's against TOS right..? |
Repository owner
locked and limited conversation to collaborators
May 11, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: