Giter Site home page Giter Site logo

beavisbot's People

Contributors

avatarkava avatar benzi avatar keithepley avatar mikelietz avatar sharedferret avatar sickred avatar

Stargazers

 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  avatar

beavisbot's Issues

Reconnect protection 'thrashes' when user opens two tabs

Since Plug still does the whole 'thrashing connection' thing when a user opens two plug tabs (rapid connect/disconnect as the two tabs fight it out to maintain a connection), put in protection to prevent Beavis from continually adding a user to the line

Themed Icons

oscar

.icon-current-dj {background:url(http://png-3.findicons.com/files/icons/907/puzzle/32/rubik_s_cube_trashed.png);;background-repeat:no-repeat;background-position:center}
.icon-search {background:url(http://www.pixeljoint.com/files/icons/waldo.gif);;background-repeat:no-repeat;background-position:center}
.icon-related {background:url(http://www.pixeljoint.com/files/icons/waldo.gif);;background-repeat:no-repeat;background-position:center}
.icon-join-waitlist-big {background:url(http://icons.iconarchive.com/icons/iron-devil/ids-3d-icons-40/32/r2d2-icon.png);;background-repeat:no-repeat;background-position:center}
.icon-leave-waitlist-big {background:url(http://www.pixeljoint.com/files/icons/ghostbusters_slimer.gif);;background-repeat:no-repeat;background-position:center}{background:url(http://www.pixeljoint.com/files/icons/ghostbusters_slimer.gif);;background-repeat:no-repeat;background-position:center}
.icon-leave-booth-big {background:url(https://cdn1.iconfinder.com/data/icons/black-religious-icons/30/Transformer.png);;background-repeat:no-repeat;background-position:center}
{background:url(http://img.informer.com/icons/png/32/104/104916.png);;background-repeat:no-repeat;background-position:center}
.icon-join-waitlist-big {background:url(http://icons.iconarchive.com/icons/iron-devil/ids-3d-icons-40/32/r2d2-icon.png);;background-repeat:no-repeat;background-position:center}
.icon-leave-waitlist-big {background:url(http://www.pixeljoint.com/files/icons/ghostbusters_slimer.gif);;background-repeat:no-repeat;background-position:center}
.icon-playlist {background:url(http://www.iconhot.com/icon/png/wpzoom-developer/48/cassette-1.png);;background-repeat:no-repeat;background-position:center}
.icon-playlist-close {background:url(http://www.pixeljoint.com/files/icons/gobo_fraggle_rock.gif);;background-repeat:no-repeat;background-position:center}
.icon-filter {background:url(http://www.pixeljoint.com/files/icons/ren_excited.gif);;background-repeat:no-repeat;background-position:center}
.icon-edit-white {background:url(http://www.pixeljoint.com/files/icons/stimpy.gif);;background-repeat:no-repeat;background-position:center}
{background:url(http://www.pixeljoint.com/files/icons/oscar_grouch.gif);;background-repeat:no-repeat;background-position:center}
.icon-shuffle {background:url(http://en.icomania.com/imgs/icojpg/24/227.jpg);;background-repeat:no-repeat;background-position:center}
.icon-create-playlist {background:url(http://www.iconhot.com/icon/png/wpzoom-developer/48/cassette-1.png);;background-repeat:no-repeat;background-position:center}
.icon-store {background:url(https://cdn0.iconfinder.com/data/icons/iconsweets2/40/pacman.png);;background-repeat:no-repeat;background-position:center}
.icon-room {background:url(http://icons.iconarchive.com/icons/fatcow/farm-fresh/32/turntable-icon.png);;background-repeat:no-repeat;background-position:center}

Not welcoming incoming users

I noticed this morning that plug cubed stuff seems a little broken, and Beav hasn't been welcoming incoming users. Not sure if they are related, but I can split this into two issues if not. :)

plug3

.dogfacts?

There's been a request for .dogfacts. Oh and .pandafacts too I guess. ;-)

Wording change is misleading.

When checking stats under .mygrabs, the text now reads "You have grabbed xxx songs." (It used to say something like "You have xxx grabs.") It now means the opposite of what it should mean. Far as I can tell, the stats are for how many songs of your own others have grabbed for themselves. As some of us compete to have high numbers of songs others want to grab, it's frustrating for it to appear that you are merely grabbing everyone else's. Could it please be changed back to reflect what it actually means?

Reduce MEH bot spammers

Bot will continue to post the MEH message in chat long after the abuser has been banned.

Proposed solutions:

  1. Only warn once when removing MEHers in line.
  2. Set a 5-10 second cooldown (or more) to reduce bot spamming in chat.
  3. Auto-ban for 1 hour after 5-10 attempts to rejoin the wait list if still join-MEHing (as a last resort or if no mods are on duty).

mehspam

"Gifts" command(s)

Utilize the GIFTS table in the db and populate with some bot-level gifting based on a randomly-selected strong from that category

eg .cookie .beer or .taco

Automatic Theme Display

First off, thank you for all that you do! BeavisBot is awesome and makes life as a mod a lot easier. Was curious if there would be any way on theme days (or just any day) to automatically display the theme with the welcome message...or just randomly display it throughout the day. I know a lot of times people will ask if there's a theme, and the .theme option will be used...but if it could display automatically that would be nice.

Request for .support addition

Hi AK -

Can we maybe add a .support option to Beav to display the BA Support information for when there are no mods in the room. Maybe an abbreviated version of the facebook post? Thanks!!

If you ever need immediate assistance and no mods are available, please also feel free to ask a plug.dj Brand Ambassador in their support room:
http://plug.dj/support
Hours are listed under Ambassador Support Hours at:
http://blog.plug.dj/brand-ambassadors/

Overnight mode for Beavis

It would be nice to be able to set the bot in an "overnight" where he removes users for going over song time limit, broken songs etc. We don't need this during the day so it would be nice to have this as a toggle of some sort.

Ban/Kick support

After getting bot spammed a few times, it's necessary to have a text way to do this as the GUI is just too slow to quickly ban 20-30 usernames coming into the room and spamming.

.theme support for room themes

Mods and above can also use this command with a string to set the current room theme (just a variable that can be returned via text)

Lottery

.lotto or .lottery to execute (instead of /win if using the reference below)

  1. Announce the lottery in chat.
  2. Beavis will @mention the winner (can probably omit mentioning the person getting bumped to #2), then move the winner from the wait list to the #1 position.

Bonus: Add random lottery chatter so that Beavis isn't always saying the same thing when someone wins the lottery.

Reference (with permission from the author): http://pastebin.com/qVqZrMRD
(This will need some 80s/90s-related text to replace the current ones in the script above.)

Bot crashing because of [TypeError: Cannot read property 'media' of undefined]

Hello,

I noticed BeavisBot in The "I love the 80's and 90's" community and recently started looking into reproducing him into a room I run for a gaming server I develop for.

When I try to start the bot however, This happens:

tim@Bot:~/BeavisBot$ node sparkle.js
Using update code: h90
11 Apr 12:45:22 [Socket Server] Connected
11 Apr 12:45:22 [Chat Server] Connected
Joined room undefined
[GATEWAY ERROR] [TypeError: Cannot read property 'media' of undefined]

/home/tim/BeavisBot/sparkle.js:279
if (room.mediaStartTime) {
^
TypeError: Cannot read property 'mediaStartTime' of undefined
at monitorDJList (/home/tim/BeavisBot/sparkle.js:279:17)
at null. (/home/tim/BeavisBot/sparkle.js:252:13)
at wrapper as _onTimeout
at Timer.listOnTimeout as ontimeout

Am I overlooking something in the config or did I mess something up?

Thanks :)

Add the ability to move a temp banned person to the permanent ban list

Currently there is no way to move someone on the temp ban list to the permanent ban list. Which is necessary if a bouncer has to ban someone and we decided this should be moved to permanent ban.

According to Naralith, we need to add this to our bot and he says to talk to Eucalyptusspace in Chill room about it.

help

C:\Users....\Documents\BeavisBot-master>node sparkle

module.js:485
throw err;
^
SyntaxError: C:\Users.......\Documents\BeavisBot-master\config.json: Unexp
ected string
at Object.parse (native)
at Object.Module._extensions..json (module.js:482:27)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (C:\Users.........\Documents\BeavisBot-master\sparkl
e.js:4:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)

"roomName": "http://plug.dj/roblox/"

Support kicking users out of DJ Line when not wooting

Currently the bot will warn users at around 60 seconds remaining in the current track if they aren't wooting.

Add on a feature so that we access the history and boot anyone who didn't woot for the previous track when the DJ advances

Notify user with bot command

When evoking .rules (or other commands), allow for DJ names as arguments to follow so that BeavisBot will target those DJs in the response message.
Ex: ".rules DIGS SMEXXY" will cause BeavisBot to respond with the usual rules message but also with @digs @Smexxy"

Transparent Playlist

Might need to tweak the colors, but I went with a bluish one.

playlist-panel {background:rgba(0, 28, 55, 0.85)}

playlist-menu {background:rgba(24, 39, 40, 0.65)}

Blacklisted Song List

When skipping a song, moderators and above have the option to use the 'blacklist' tag (eg .skip blacklist). In the future, if an exact match for that song is found, Beav will auto-skip.

Reload/reconnect required since plug times out

Code in the plugapi repository doesn't seem to keep Sparklebot connected - after about 10 minutes, he stops receiving everything other than chat requests (he'll respond to dot commands, but doesn't realize people are wooting, etc).

Update lastplayed command to include timezone

The .lastplayed date seems a little off. The timestamp displayed in screenshot below is PST, but for some reason it says it was played "yesterday" at 11:43PM, even though it was only 2 hours ago (+3 hours for EST):

djhistory

Mehing while in line - Bug

Currently, users can get around Beavis removing them from the line for "mehing" by rejoining the line after the first warning. Moderators then have to manually remove the user the second time.

Link to FB group

Since people ask about this from time to time, it would be convenient to have a .fb or .facebook command for it.

Song Last Played

The ".lastplayed" command seems to be down. It's reporting that all songs are being played in the room for the first time, even if it's been confirmed that the song was played in the room with Beavis present previously.

Removed from Wait List without first warning

Seen this happen a few times with other people, but this is the first time it's happened to me. The last thing I said in chat was at 3:03 PM (see screenshot attached). I wonder if it skips the AFK reminder when a song ends right as it hits the 1 hour mark?

beavisafk

Responses on bot mention

Return a random phrase on @ mention of the bot.

Can possibly parse matching phrases within the mention to tailor the response in a cool way: is it a question? does it contain 'zombie'? etc.

.afk command not workimg

Beavis is reporting everyone as active if you use the .afk command even though he just @ mentions someone that they have been idle.

Attached screenshot.
screen shot 2014-04-23 at 11 24 03 am

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.