DesTroy

4 days ago

v2.94.0 is live now

  • Cards Against Humanity no longer needs DMs, your cards show up privately in the channel instead using ephemeral responses.

  • Premium servers can now write their own custom Cards Against Humanity packs, and there are game settings on the dashboard for default packs, points to win, player limit and timers.

  • /cah create now shows a pack picker if you don't name any packs, and -v has been replaced by -mode czar or -mode vote

  • New /roleinfo command with a role's details and how many members have it, listroles now shows member counts and the full colours of gradient roles

  • Added new Message Contains Media Flagged By Discord Advanced Automod trigger for media that Discord flags as explicit, gore or self harm, this flag can be added by discord later after the message is sent as an edit.

  • New setVoiceStatus template function to set a voice channel's status line, it needs the Set Voice Channel Status and Manage Channel perms

    {{ setVoiceStatus 1234567890 "Movie night" }}
    {{ setVoiceStatus 1234567890 "" }}
    
  • Roles now have .MemberCount, it can be cached member count and shouldn't be relied upon for 100% accuracy or real-time updates.

    {{ $role := getRole 1234567890 }}
    {{ $role.Name }} has {{ $role.MemberCount }} members
    
  • /trivia start now has a timer argument which sets the timer for the question in trivia, min is 5 seconds and max is 120 seconds, default for it is 30 seconds.

Full release notes: https://github.com/botlabs-gg/yagpdb/releases/tag/v2.94.0

DesTroy

1 week and 3 days ago
<@&245600360670953472> v2.93.0 is live now

v2.93.0 is live now

  • closeThread with lock bool now locks and closes the thread, if you want to just lock a thread use lockThread
  • Role menus can now be edited and created from the dashboard under each role command, additionally you can also make a select menu role picker for the role commands.
  • Message creator can now show custom command code snippets for creating the message using a CC
  • Several UI and UX improvements for mobile have been done.

Full release notes: https://github.com/botlabs-gg/yagpdb/releases/tag/v2.93.0

DesTroy

2 weeks and 5 days ago
<@&245600360670953472> v2.92.0 is live now

v2.92.0 is live now

  • Added randNorm function

randNorm [mean] [stddev] returns a random decimal number from a normal (Gaussian) distribution. Unlike randInt, where every value is equally likely, results cluster around mean, and about 68% of them fall within one stddev of it. mean defaults to 0 and stddev to 1.

This is useful for results that should usually be average but sometimes extreme, such as damage rolls, stats, or a fishing game.

{{ $weight := randNorm 5 1.5 }}
{{ if lt $weight 0.5 }}{{ $weight = 0.5 }}{{ end }}
{{ .User.Username }} caught a fish weighing {{ printf "%.2f" $weight }} kg!
  • Added a separate lockThread function, it just locks a thread. It's a shorthand for closeThread <thread> true for now, close thread in future with the lock argument to true will lock and close thread, right now it just locks the thread.

    {{ if not .Channel.IsThread }}
    This command only works inside a thread.
    {{ return }}
    {{ end }}
    {{ lockThread .Channel.ID }}
    Thread locked by {{ .User.Mention }}.
    
  • Added .SlashID and .SlashMention for slash command custom commands

Custom commands with the Slash Command trigger can now use .SlashID, the Discord ID of the slash command, and .SlashMention, a clickable mention of the command in the form </name:id>. Members can click the mention to start typing the command.

{{ sendMessage nil (cembed
  "title" "Suggestion received!"
  "description" (print "Thanks, " .User.Mention "! Have another idea? Use " .SlashMention " again.")
) }}
  • Also contains some Performance and Rate Limit related improvments.

Full release notes: https://github.com/botlabs-gg/yagpdb/releases/tag/v2.92.0

DesTroy

3 weeks and 3 days ago
<@&245600360670953472> v2.91.0 is live now!

v2.91.0 is live now!

  • Added support for Ban Appeals.

    • Ban Appeals go to your mod-log channel, a user can appeal a ban from a link that takes them to Yagpdb.xyz, the appeal link is available in {{.AppealLink}} in the ban template if ban appeals are enabled.
    • Premium servers can setup a custom ban appeal channel and enable ban appeal button, which lets a user to submit an appeal directly using a modal (Though if a user doesn't share a server with the bot, buttons in DMs don't work)
  • Added a Quick Setup flow for setting up some features with default settings, this flow is now shown after the bot is added to a server, more features will be eventually added to Quick Setup.

Full release notes: https://github.com/botlabs-gg/yagpdb/releases/tag/v2.91.0

DesTroy

4 weeks and 5 days ago
<@&245600360670953472> v2.89.0 is live now

v2.89.0 is live now

  • Message Creator now has toggles to send role, everyone, and here mentions.

  • ComponentBuilder can now be saved to DB correctly. After you save it with dbSet and when you get it back using dbGet it should be parsed back as a ComponentBuilder.

Example

{{ dbSet 0 "cb1" (componentBuilder "text" "hello" "separator" true "text" "bye") }}
{{ $b := (dbGet 0 "cb1").Value }}
{{ sendMessage nil $b }}
  • You can make a ComponentBuilder from an existing cv2 message by passing the message as the only argument to ComponentBuilder, for non cv2 messages, this will throw an error.

Example

{{ $cb := componentBuilder (getMessage nil message_id_here) }}
{{ $cb.Add "text" "appended" }}
{{ sendMessage nil $cb }}

Full release notes: https://github.com/botlabs-gg/yagpdb/releases/tag/v2.89.0

DesTroy

5 weeks and 2 days ago
<@&245600360670953472> v2.88.1 is live now

v2.88.1 is live now

  • DMs now don't filter invites, and carry a delete dm and report abuse dm button, which sends a report to YAGPDB staff.
  • DMs now allow CV2 messages and link buttons, you cannot send any interactive components in DMs
  • A Bug with command overwrites showing legacy names for some commands has been fixed.

Important For Self-Hosters

  • A guide for applying to discord for privileged intents has been added at https://github.com/botlabs-gg/yagpdb/tree/master/docs along with a template for privacy policy and terms of use, these should only be used as templates and you should still review everything and take your own set of screenshots and make a video of features to apply for the privileged intents, you're responsible for the submission for getting approved or rejected, the above is purely for helping you fill the form.

  • Prefix commands have been disabled by default, so is username tracking, message log purge is set to 30 days by default, if your bot needs privileged intents, these have to stay disabled, please read breaking_changes to modify this behaviour.

Full release notes: https://github.com/botlabs-gg/yagpdb/releases/tag/v2.88.1

DesTroy

7 weeks and 2 days ago
<@&245600360670953472> v2.87.0 is live now

v2.87.0 is live now

  • Fixed a bug with /customcommands eval, where if the provided template had no response it would show that the bot didn't respond.
  • Increased max query length for dictionary command to 128, and it should now also look up other languages, because you know weird words like Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz exist.
  • RSS feeds should now be more tolerant and will only be disabled if they fail continuously for 24 hours, and they will show the reason for why they were disabled on the dashboard, except for errors like 403, 401, 402, 451, 404 or any other restricted access http codes, in that case they will be disabled immediately
  • Some performance improvements to the bots discord gateway connection
  • Fixed a panic for a rare scenario where a command was executed in a thread but the bot somehow didn't have the parent channel in it's memory.

Chicken soup with croutons for @lzodd for contributing to this release

Full release notes: https://github.com/botlabs-gg/yagpdb/releases/tag/v2.87.0

DesTroy

8 weeks and 1 day ago
<@&245600360670953472> v2.86.0 is live now

v2.86.0 is live now

  • free and premium limits for Custom Slash Commands, and Context Menu Commands have been increased.

/ Commands -> 10 for free, 50 for premium ( 10 subcommands for free, 25 for premium) Context Menu Commands -> 5 for free 15 for premium ( each for message and user)

  • help has been improved and now mentions the command to let you use it directly from help menu.

  • dictionary command now uses a different 3rd party provider as the old provider seems to be broken for quite a while.

Full release notes: https://github.com/botlabs-gg/yagpdb/releases/tag/v2.86.0

DesTroy

8 weeks and 4 days ago
<@&245600360670953472> v2.85.1 is live now

v2.85.1 is live now

  • single mode in rolemenu should be more reliable now
  • added slash commands equivalents for all prefix command which didn't have slash commands, and categorized them under top level commands, some slash command names have changed or moved under a top level command. Refer: https://help.yagpdb.xyz/docs/core/command-settings/#finding-the-slash-command-equivalent You may need to change some command names in exec and execAdmin if things break for CCs with them.
  • performance and stability fixes

A cortado for @lzodd for contributing to this release!

Full release notes: https://github.com/botlabs-gg/yagpdb/releases/tag/v2.85.0

DesTroy

8 weeks and 5 days ago
<@&245600360670953472> v2.85.0 is going out right now, it should take approximately 3 hours to roll out completely and i...

v2.85.0 is going out right now, it should take approximately 3 hours to roll out completely and it disables prefixed commands.

If you face any issues after the release, please share details in https://discord.com/channels/166207328570441728/1549397988617625820

Need help?

Thanks to our patrons!

and 63 more

A Patreon subscription gives you premium slots to assign to servers, see the premium page.