Comments (4)
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.
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.
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.
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)
- Server Discovery channel names HOT 2
- Silent Closing
- Combined Closing Messages
- Open ticket with button or command HOT 2
- Improve blocking feature HOT 2
- Explain how this isn't a scam HOT 1
- replying to a ModMail DM leads to timeout waiting for user reaction HOT 2
- Channel command alternative to msg ModMail HOT 4
- This user id is currently logged on (ID: PiGame) HOT 2
- Backlog queue for tickets HOT 2
- Webhooks for Message Log HOT 3
- feat: Send a message to an open ticket if a user leaves the server HOT 5
- Add 'Create' command for use in server HOT 2
- Non-member can't be whitelisted HOT 4
- Commands with a ping prefix, get sent with commandonly mode off.
- [Question] Select menus going forward (d.py update)
- Raspberry Pi Docker Architecture (arm64) HOT 1
- Clearly state that `[]<>` shouldnt be included
- feat: Mobile text copying
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modmail.