diggadoodoo / discord.js-moderation-bot Goto Github PK
View Code? Open in Web Editor NEWA small Discord moderation bot, without a command handler
A small Discord moderation bot, without a command handler
IP logged..
Would it be possible for you to amend the code to implement abbreviations such as kick/remove = k/r or a mute = m??
Hey man. So ive been running this on my raspberry pi for the last 2 weeks and it worked fine. Now however I have the problem that purge doesnt work anymore. All the other commands work perfectly fine.
When I just do !purge without a number it even tells me that I gotta say how many messages to purge. but when I do that nothing happens. logs dont help either as there are no errors whatsoever.
any ideas?
When you kick or ban a member put a reason, for example:
const reason = args.slice(1).join(" ") || "No reason was implemented."
member.kick(reason)
Because when install discord, we install v14, and v14 use messageCreate or interactionCreate, not message
Hey man. tried installing your bot. getting "command is not defined"
The description says this does not use a command handler. Is this the same intent as avoiding polymorphism in favor of complex if blocks?
I see that with the say command it's possible to simply make say @ everyone
and the bot will ping all the guild. To fix that you just have to check if the args include an "@" (for prevent mentionning everyone, here, member and role) or send the message with remplace the @ by another character.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.