Skip to content

Instantly share code, notes, and snippets.

@ace3df
Last active September 3, 2016 20:10
Show Gist options
  • Save ace3df/d949764a83df34f37551e5bacee51407 to your computer and use it in GitHub Desktop.
Save ace3df/d949764a83df34f37551e5bacee51407 to your computer and use it in GitHub Desktop.

#!SERVER SETTINGS HAVE BEEN RESET!

PLEASE TELL THE SERVER OWNER TO LOOK OVER THE NEW SETTINGS:

https://gist.github.com/ace3df/cd8e233fe9fe796d297d

The old settings file was just a mess, so they have been wiped.

##Settings Removed:

  • ratelimit

This got a bit messy, so it's just staying at 120 seconds per 6 commands (for each user global)

  • Add bot to timeline

This was even more of a mess. Twitter do not have a public RSS feed anymore and Twitter RSS sites only update once every 15~30 minutes.

My own RSS system which all the bots will read from will be coming (not Twitter related so this is how Ecchi bot will come back).

##Other stuff to note:

Although I really don't like files like this the Discord.py is 800+ lines. discord.py (libary) has a really nice cogs system for folders and other .py files but with the number of ports APB will be going through I thought it would be better to keep everything that only said port is using to said file. w/e

There is a new command: MyWaifu Data / MyHusbando Data This will return all the waifuregisters you've done since (05/09/2016)

I was really confused at why the old Discord bot was responding so slowly and could never pinpoint the problem (old version of the libary, random old while loop?) dunno man. So I simply started the whole project from scratch (some copy and paste there and then from being lazy).

The music game problem has also been fixed. That whole system was a mess of adding more code just to get around problems instead of fixing them. It should work fine. Werid audio glitches shouldn't happen so much now and well (will mostly happen at the start of the song) (still need to look into a much more powerful server).

The way accounts are linked will be different now, before I used a werid .txt file with "||" to split, now It's a simple json file that can keep adding accounts when the bot is ported to other locations.

The bot is in over 1000 servers now! really cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment