Skip to content

Migrations


Discord updates its features frequently, which can affect how legacy code works. This migration guide helps you transition from older examples to their updated equivalents, with a brief explanation of the changes and how to use them in the new API.

Table of Contents

Prefix to Application Command


Application commands are a newer, feature-rich, and less cumbersome replacement for message prefix commands. There are three types:

Why is this less cumbersome? You no longer need to listen to and parse message content (which is now a privileged intent). Instead, you just listen for InteractionCreate events — and that’s where ScurryPy comes in!

Embed to Container


Containers display and format much like traditional embeds, but with added flexibility for arranging components and customizing message layout.

Some new features of containers introduces:

  • Media Gallery
  • Section
  • Separators
  • and more!

Check out Containers for more!