Coder Social home page Coder Social logo

Comments (4)

SnowyJaguar1034 avatar SnowyJaguar1034 commented on May 27, 2024

If You want a (relatively) quick way to add slash commands and components to the bot then I recommend discord-interctions.py whose GitHub, Docs and PyPi can be found with the aforementioned links. I personally use this library for my bot and it works great. It can be a bit clunky compared to the Discord.py forks such as Disnake , Pycord and Nextcord however discord-interactions is almost entirely decorator based to be more compatible with discord.py.

If you are more interested in rewriting the bot in a new library then Hikiri is looking like a good up and coming library for Python.

That all said I know you mentioned you were thinking of rewriting the entire bot in rust but just thought I'd throw my two cents out there.

from modmail.

chamburr avatar chamburr commented on May 27, 2024

Thanks for the suggestions. I think that for the time being, none of the discord.py forks are mature enough to be used in production. I also feel that the Discord stuff are not quite polished yet, and due to time reasons, a rewrite is out of the picture for now. This is more of an issue for the long-term and I'll have to decide whether to switch to a fork or rewrite the bot later down the road.

from modmail.

SnowyJaguar1034 avatar SnowyJaguar1034 commented on May 27, 2024

Yeah I expected as much tbh which is why I threw in the discord-interactions.py links, could be a good stop-gap solution for the time being which won't necessarily require an entire rewrite (you could just call each command as a function from within a slash command function, I think). I defiantly think the context menus could be useful for the ticket creation process so ppl just right click on Modmails pfp, click apps, then create ticket

from modmail.

ForgottenHero avatar ForgottenHero commented on May 27, 2024

https://discord.com/blog/welcome-to-the-new-era-of-discord-apps
This news post from Discord says:

  • For verified apps (bots that have a checkmark displayed), Slash Commands are the new standard for interacting with them. Huzzah!
  • For unverified apps (bots that don't have a checkmark), you may still be using text commands when you interact with them, depending on what the developer prefers.

September 1, 2022 is the final switchover date. This means that, if the developer of one of the apps you’re using has not made the switch yet, parts of the app might not work after that time.

from modmail.

Related Issues (20)

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.