Jonas747

5 days ago (16 Oct 19 20:08)

This channel and <#465887983657287686> are now announcement type channels which means you can follow them!

Jonas747

2 weeks and 5 days ago (02 Oct 19 20:13)

@everyone YAGPDB has hit 300k servers!

As a celebration, i'm doing a bunch of giveaways in <#166208623775711232> and <#453220723117522995> (for quality patrons)!

I also have a feedback survey i would appreciate if you answered:

https://docs.google.com/forms/d/e/1FAIpQLSfcsLejaCIxhrY5gaZ_BfAkHSYLKb04kf8SxvamkhoKxwjjhA/viewform?usp=sf_link

Jonas747

5 weeks and 5 days ago (11 Sep 19 10:58)

Maintenance complete, bot is coming back online now!

Jonas747

5 weeks and 5 days ago (11 Sep 19 10:31)

YAGPDB is going down for 15-30 minutes now for some maintenance as described in <#465887983657287686>

Jonas747

6 weeks and 1 day ago (08 Sep 19 06:47)

So the bot is in the final stages of recovering, just cleaning up things here and there now.

Here's what caused the 3 hour downtime:

At around 4am CEST a backup of the main DB started, its over 100GB so it takes some time, but it also decreases disk performance aswell, this caused the DB to fall behind and shards started dying because of it, around half the shards died initially, constantly trying to reconnect

At 5:30am CEST the token was reset because of too many gateway identifies (caused by constantly trying to reconnect as mentioned above) causing the whole thing to come down

At around 5:40am CEST the bot servers got banned for api spam because of faulty reconnect code causing spam when the token was reset.

So yeah, my fault in the end, need to re-engineer backups and fix my stupid reconnect code.

buthed010203

6 weeks and 1 day ago (08 Sep 19 03:41)

Entire bot died, I assume the token was reset.

Jonas747

8 weeks ago (27 Aug 19 00:45)

Custom command/template changes

  • New variable .CCID: the id of the currently executing custom command
  • Max ops slightly re-done, limits increased to 1 million for normal servers, and 2.5 for premium
  • Added reaction triggers, The following new variables is provided when using them:
    • .Reaction the reaction object, has the following fields: UserID, MessageID, Emoji.(ID/Name), ChannelID, GuildID, Emoji.ID is the id of the emoji for custom emojis, and Emoji.Name will hold the unicode emoji if its a default one. (otherwise the name of the custom emoji)
    • .ReactionMessage message object for the message the reaction was added/removed from/to
    • .ReactionAdded boolean indicating wether the reaction was added or removed
  • There can now be multiple custom commands executing per message/reaction, up to 3 for normal servers and 5 for premium servers.
  • Added editChannelName function, takes in a channel and the new name: {{editChannelName 12301283 "some new name here"}}
  • Added onlineCount function that returns the count of online users on your server
  • Added dbCount userids... function that counts the number of db entries for the specified user ids (or all if none provided) (by @caubert)
  • Added newDate year, monthInt, day, hour, min, sec function that creates a new time object with the specified arguments (by @caubert)

... And a lot more backend/system/smaller changes not mentioned here.

Jonas747

8 weeks ago (27 Aug 19 00:45)

YAGPDB v1.20

Been a long since last major version, there's a lot of smaller updates done tough, a lot of improvements to the backend code as load increases, bugfixes, smaller feature additions and so on.

This update brings enough new things that I'm bumping the version tough (note that some of these were available in some of the smaller updates i mentioned above, but i never mentioned them anywhere else so I'm putting them here aswell):

General changes

  • Various fixes and improvements to the website
  • Toprep, usernames and nicknames now uses paginated reponses
  • Automodv2: Added new slowmode effect to put the channel on a slowmode either permanently or for a certain duration
  • Rolemenus: Enabled automatic reaction sync for single mode on premium servers, I'm planning on implementing a more intelligent version for all servers soon
  • Tickets: You can now set a separate transcript channel for admin only tickets
  • Verification: No longer relies on roles for kick/warning check, meaning you can remove the role safely after they verify

YAGPDB.xyz

8 weeks ago (27 Aug 19 00:45)

v1.20 Released

Jonas747

12 weeks ago (30 Jul 19 00:54)

The above is in effect now, i will edit this messages with updates.

Edit #1: some problems with the update, trying again now

Edit #2: initial shard migration is in progress, can't initiate the log migration before all nodes are updated

Edit #3: Looks like its gonna take 2 days to fully migrate the houndreds of millions of messages over, sorry for the inconvenience.

Edit #4: Since it's taking so long i might add a temporary read only fallback for the legacy logs tomorrow, we'll see how far it gets, im heading to bed for now tough

Edit #5: Migration is complete, to give you an idea how much space this saved: previous size for the logs was 69GB, now its 17GB

Information

To add this bot to your server click login in the upper right corner, then afterwards select it in the "select a server" dropdown up top.

Make sure you have manage server permissions and that you are logged into the right account

Afterwards, click around a little to get familiar with the interface and what it provides

If you stumble into any issue and need help then join the support server. (link at the top of the page)

Thanks to my patrons!


Patreon tiers above 3$ will grant you premium slots you can assign to servers, see the premium page for more info.

Check out...

YAGPDB is open source! The project is hosted on github here: jonas747/yagpdb.

Donate using patreon, bitcoin and other cryptos! Donating $3 or more will grant you premium slots you can assign to servers!

Looking to buy the ad space? Click here for more info.

Looking for the YAGPDB Discord server? the link is located at the top of the page!