Giter Club home page Giter Club logo

alphaconsolebot's People

Contributors

alipoodle avatar arxarius avatar barbosicks avatar coledeb avatar coolcalcacol avatar evilpauwse1 avatar haydenmeloche avatar jdmremi avatar nitrog0d avatar polliedev avatar test137e29b avatar xavinlol avatar xnameless69 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

alphaconsolebot's Issues

!lastseen command

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 ๐Ÿคทโ€โ™€๏ธ

Server Filter

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.

Custom Text Commands

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.

Support vs Moderator Commands

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.

Music channel & functionality

@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?

Sentiment

If someone gives the bot a compliment it should say thanks.

not important - just a fun add-on feature

Support: !mute & !unmute

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

Support: !Case & !Cases

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

Server Event Log

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.

screen shot 2017-12-08 at 12 56 18 pm

Blacklist Updates

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?

Reverse Togglelinks

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

Moderator: Kick & Ban command

!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

!checkdb Command

When using the !checkdb command, it should output the user's information as in the screenshot.
screen shot 2017-12-10 at 6 43 02 pm

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

Invite guard blocks discord links from being posted

checkdb bug

When a person has multiple colours it won't show properly in !checkdb

Set title enable / disable

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).

Self Assignable Roles

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.

!listcoms

Command to see all of the current custom commands.

Auto Respond to Common Qs

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.

Handle of 'Cannot send user message' rejection

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.

Suggestions, Showcase, Maybe others soon?

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.

URL Parse error

# in title doesn't work properly.

Need to investigate other possible url breaking things.

Check on ready if Guild is available

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.

!togglelinks

@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.

Logging roles of a user

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.

Set special title

Replicate what we currently have.
2017-12-11 21_29_55- set-special-title - discord

Will need a set, add and delete command.

Support: !Warn

!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

Stats in bot

Save the stats of

  • Members joining
  • Members leaving
  • Total messages send
    = Make a different counter for titles & all other channels
    = Ignore all the log channels for the other channels.

Set title commands

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

!update command for bot

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.

!status enhancements

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.

Enhancement of !role Command

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

Automatically resetting title of an ex-twitch sub

@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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.