alphaconsole / alphaconsolebot Goto Github PK
View Code? Open in Web Editor NEWThe AlphaConsole Discord Bot
The AlphaConsole Discord Bot
add a last seen command that will return either how long its been or what the date/time was when they were last seen. (found in the title db)
preferably lookup for discord and steam potentially using !lastseen steam id or !lastseen discord id/tag or just one command that takes either ๐คทโโ๏ธ
In advance I apologize if any of these features are already baked into the bot. Just listing ideas as I write them.
Currently utilibot monitors chats that it has access to and acts upon filters. These range from spam to major profanity. It would be nice to have this as well.
The bot in the subreddit discord, and other "red-bot" based bots have the ability to add custom commands with a prefix and output. I was talking to @HaydenMeloche about this in the past.
Example:
!addcom root is OP
-> !root
then outputs is OP
!editcom root new text here
!root
now outputs new text here
!delcom root
deletes the !root
command
Obviously doesn't need to be a priority, but I feel like it would encourage more activity in the server and be a nice feature to have.
EDIT: Didn't know how the muting worked with this bot, support role should have access to !mute and !unmute as stated in discord as well as warn.
Mods in the discord have perms to kick and ban manually, I meant a !kick and !mute in the bot rather.
@ThePjpollie I would love for the music functionality that was in JHZER's server to make its way to AC basically exactly the same it was if possible. Crazy good implementation. Could you explain to me how (if it existed) the channel was moderated? Any mod !skip
commands or the like?
If someone gives the bot a compliment it should say thanks.
not important - just a fun add-on feature
Permanent !Mute command that logs and doens't have a automated unmute.
And add an !unmute command to unmute the user, will work on perm & temp mutes.
For Support
All commands for support and higher:
!Case [nr] -- Shows all details about that single case
!Case edit [nr] [Reason of the case] -- Changes the reason of that specific case
!Case remove [nr] -- Removes the case and also the message in the logs
!Cases [@tag] / [User ID] -- To check all the cases or last 5, not sure yet. Input welcome!
Also change database and add the message ID of the logged message into the log itself.
Further feedback or suggestions welcome for the cases system.
PS: !warn & !check will stay seperated to check. But to edit a warn you'll need to use the !Case edit too
Currently utilibot logs server events to a channel, ie user joins, user name/role updates, messages deleted.
The config that we have in our server is: UserJoin, UserUpdate, MessageDelete, UserMod, UserBan.
Where UserJoin, MessageDelete, UserBan
are self explanatory, UserUpdate
lists name/nickname changes and role changes.
The output looks like the screenshot that I have attached. Something like this would be great as well.
Role to be added:
Need to work on blacklist features.
-Move blacklist off the server into Bot.db
-Load into memory on start
-Add commands to add/remove words to blacklist
@coledeb anything else you can think of?
When the bot is tagged, can it respond in the chat with :pingsock:
๐ @ThePjpollie
Need the !disable
command.
Change the Temp Mute system to make it work for Support and not Staff
Increase spam check so it's not triggered as often
Right now it saves the channels that needs to block.
With new channels I could Find a way arround
Let's make it easy and deny all channels but whitelist saves channels to not remove links
Have an error catch for this in so it doesn't crash the app.
!Kick & !Ban command.
Create & use a new Table called Logs
to save each action in there for future purpose
Make sure to disable banning perms for the role Moderator on the Discord so the logs won't be avoided @coledeb
When using the !checkdb
command, it should output the user's information as in the screenshot.
If there is not a title, it should say: User User#Tag
was not found in the database.
If possible @HaydenMeloche can we have it accept Discord ID input and Steam ID input as well? For flexibility purposes (i.e. !checkdb 174300512441729024
).
Invite guard blocks discord links from being posted
When a person has multiple colours it won't show properly in !checkdb
If a user receives the role Twitch Sub
. Notify them that they have it and tell them what features they now have.
The bot should disable #set-title
#set-special-title
#showcase
and #suggestions
for users that do not have the staff role when going offline (if the event is anticipated by the bot like !update, then reenable the channels when coming online (regardless of anticipation).
So I've been wanting to make a giveaways channel for a while, but I've been conflicted with the issue of not pinging anyone or pinging @here
or @everyone
.
@ThePjpollie I know how the bot works setting regions, etc. in JHZER's server, would it be possible to have a command like !role Events
or whatever the role will be called and it give or take away the role dependent on the user having the role? Also would be good to be able to limit it to only working in certain channels, in this case #bot-spam
. This can also allow for more roles to be added in the future if needed.
With this I can tag @everyone
when announcing that the role exists and about giveaways initially, then subsequently tagging that assignable role for the giveaways.
This is the functionality like on JHZER's Discord with Limited 2s & Limited 3s.
How do you guys want this implemented? Let me know!
@coledeb @HaydenMeloche
Command to see all of the current custom commands.
When an admin overrides a user, the bot doesn't PM them saying it was complete.
question...why
makes it remove the message due to the bot thinking it's a link
Currently the bot auto responds to commonly asked questions.
Currently it just looks for keywords.
ex. alphaconsole
already running
But I am open to better implementations if anyone has a suggestion.
I can provide a list of current auto responses.
this promise rejection happens when the user doesnt allow PMs.
Unhandled Rejection at: Promise Promise {
<rejected> { DiscordAPIError: Cannot send messages to this user
at item.request.gen.end (C:\Users\Hayden\Documents\GitHub\AlphaConsoleBot\node_modules\discord.js\src\rest\handlers\RequestHandler.js:79:65)
at then (C:\Users\Hayden\Documents\GitHub\AlphaConsoleBot\node_modules\snekfetch\src\index.js:218:21)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
name: 'DiscordAPIError',
message: 'Cannot send messages to this user',
path: '/api/v7/channels/365272896115048469/messages',
code: 50007 } } reason: { DiscordAPIError: Cannot send messages to this user
at item.request.gen.end (C:\Users\Hayden\Documents\GitHub\AlphaConsoleBot\node_modules\discord.js\src\rest\handlers\RequestHandler.js:79:65)
at then (C:\Users\Hayden\Documents\GitHub\AlphaConsoleBot\node_modules\snekfetch\src\index.js:218:21)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
name: 'DiscordAPIError',
message: 'Cannot send messages to this user',
path: '/api/v7/channels/365272896115048469/messages',
code: 50007 }
Solution = Maybe tag them in general and tell them that they can't be DM'd.
In #suggestions
and #showcase
basically the bot adds a ๐ ๐ and โ reaction to every post. ๐ & ๐ are self explanatory, โ means Irrelevant
kinda. If an Admin or Dev adds to the โ reaction, the bot deletes it automatically. Also, in #suggestions
the bot creates temporary channel overrides to prevent someone from making another post in the channel for 5 minutes after submitting a suggestion.
#
in title doesn't work properly.
Need to investigate other possible url breaking things.
Just checking if it's available. If not post message in #development if we can access that.
Otherwise DM Pollie (and Root?) that it's unavailable so we at least are aware of the problem.
@HaydenMeloche This is mainly something on your end I would assume. It would be nice to have the !togglelinks
command to work only in the channel the command is given in.
The bot should automatically log the roles that a user has, and in the event that the user leaves and rejoins should give the roles back upon joining. This way, if someone who is legacy leaves and returns there isn't an issue about giving the role back, and people can't leave the server to get rid of their muted or blacklist offender role.
!Warn functionality for the Support. This will add a warning point to the user each time.
Create and use a seperate database called WarnLogs
to keep the logs of the warnings. Will also need ideas on how to save in the database Roots. On JHZER's bot it posts the last 5 message of that user before getting warned into the logs channel. This way we can kindoff see why he was warned. Let me know what you think of it
What are the consequences of first warning, second warning etc...
@coledeb & @HaydenMeloche
Save the stats of
Implement all currently existing set title commands into this bot.
For everyone
!set-title
!set-color
/ !set-colour
For Support role+
!checkdb @user
For moderators+
!override-title
!override-color
/ !override-colour
I think I am going to commit this file but I will put all AC related call urls into the keys.js
file
!set colour 6::2
doesn't work.
This will also change the functionality for permanent mute to -> !Mute @tag 0 <reason here>
So time set to 0 means permanent
The bot needs to have an !update
command that updates the bot, during which it blocks #set-title
, #set-special-title
, #showcase
, and #suggestions
from being able to be typed in besides admins and devs. Once it updates, it reopens these channels. The bot gives a response in #the-basement
(Or #development
, whatever you want @HaydenMeloche) whenever it is back online.
If possible, it would be cool to have the status automatically update when someone is actually streaming on the channel to be STREAMING @ .tv/AlphaConsole
. Whenever someone is streaming, this status would take over the current statuses until the streamer is done streaming.
Also, having the current member count that is shown when the bot does not have a status added in as an automatic (permanent) status to rotate through would be good as well, rather than only being an option when there are no statuses set.
Im trying to add other color titles and im being restricted on what I can set
I'm not entirely sure how this would work, and if a different command than !role
needs to be used then I'm all ears. A command such as !role userID/@mention "Role Name"
that adds or removes Role Name
role based on the status of the users roles currently if they have it or not.
Use case: Previously I tried to add Deevo to Community Figure an Pro roles on my phone but he didn't show up in the member list for whatever reason.
!role DeevosDiscordID Community Figure
!role @Deevo Pro
Probably mod+ bc they have the ability to edit roles
@HaydenMeloche This would be a good idea as a feature. If someone loses the twitch sub role, have the bot reset their title so that they can't use the colors if they still have them.
Depending on the capabilities of this, maybe even have it check their title automatically, and only reset the color if it is 2 or 6, and only reset the title if it is the "AlphaConsole Twitch Sub" special title.
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.