-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Ev cmnd not working #7
Comments
clean is not a function? const clean = async (client, text) => {
// If our input is a promise, await it before continuing
if (text && text.constructor.name == "Promise") text = await text;
if (typeof text !== "string")
text = require("util").inspect(text, { depth: 1 });
text = text
.replace(/`/g, "`" + String.fromCharCode(8203))
.replace(/@/g, "@" + String.fromCharCode(8203))
.replaceAll(client.token, "T0$&N^");
// Send off the cleaned up result
return text;
}; this will work |
Ok I will try , ty |
Could you provide your server link? I m not able contact u coz that discord profile link is not opening. |
uh sure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi whirl ! When I use this code to my bot eval cmd is not working ! In channel it's showing an error occured : in console its showing (clean is not a function ) how to solve this ¿
The text was updated successfully, but these errors were encountered: