vicr123 / astralmod Goto Github PK
View Code? Open in Web Editor NEWDiscord Moderation Bot for AstralPhaser Central, ShiftOS, theShell and other servers
License: GNU General Public License v3.0
Discord Moderation Bot for AstralPhaser Central, ShiftOS, theShell and other servers
License: GNU General Public License v3.0
Keep getting this error
module.js:471
throw err;
^
Error: Cannot find module './keys.js'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\BGD\Desktop\astralmod\bot.js:22:13)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
I run Windows most of the time, so I can't have a /usr/bin folder. Also, there is no theCalculator binary for windows. Why can't we make the calculator part of AstralMod in the source code.
I know this isn't an issue, but how can you add AstralMod to a Discord Server?
I would like the Wiki to be made so I can see ALL the commands and how to setup the bot
Mathematical expressions, even those as simple as 1+1, do not calculate, with AstralMod returning an error:
Internal Error
AstralMod has run into a problem trying to process that command.
Details
spawn ENOMEM
We have a bot spam channel on our server, where people will often run the same command many times in a row, and that's allowed. There's also an admin-exclusive bot spam channel for when commands might send back private information. It would be useful to be able to give an exemption to those channels specifically. Currently, AstralMod isn't allowed to manage messages in either channel, but it still complains about spam, just doesn't delete it.
The variable smallMessageCount
is defined in the code, but is never assigned a value afterwards. There are checks in the spam filter to see if it goes over 10, but there is nothing in the code that ever gives/adds a value to it. Removing this could slim down the code a lot, but personally I'd like to see some use come out of it. Maybe smallMessageCount
was previously used for checking if a user was spamming messages fast but with unrelated content from the previous message? Thanks.
In my opinion, AstralMod should update DST offsets automatically for the am:time command.
AstralPhaser Central isn't a thing anymore. Please update the description with the correct info and name
How can you setup AstralMod?
What you have to do is not specific! Please make it more clear, or explain to me what you are supposed to do...
I think, that if you type bot:nick it would say continue in DMs and there you would type your chosen name, because some dumb people like me just type bot:nick and it shows that your nickname is accepted without even asking me about it...
Make bot ignore spaces for commands appearing after the prefix. For example, if you type bot: ping, the command won't run, but bot:ping will run. Please fix this.
If you type mod:deal, you'd get a new item, "warn", which you can give a reason for a warning, and AstralMod will send the warning, and keep track of it
When someone uses the bot:nick command, AstralMod should ask to confirm if the nickname that they put is the nickname that they want. This is because people have put nicknames that they don’t really want.
I see a suggestion and try to use the '0' reaction. Except, I can't use it and it's auto deleted. Victor, could you please fix this? Thank you.
Heya. It'd be nice if moderators of servers were allowed to do mod:panic. On APHC there seems to be an... uproar of spammy, annoying people. Please help out :) <3
I think that if you do "am:nick" it shouldn't go through. People have made that mistake, , and its just annoying to have to then manually fix it. If you wanted a clear command you could do "am:clearnick" maybe? And if you do am:nick it just says "Usage: "am:nick {nickname}""
I mean yeah its a basic mistake, but still. Kind of counter intuitive, IMO
There really needs to be a mod:clock cooldown. Like, at least 30 minutes for non-staff members. In APHC it's gotten a little spammy. Please add this to the bot vicky <3
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.