Comments (2)
I'm sorry but realistically this is the wrong repository to make this request. Sapphire Framework is a framework on top of DiscordJS and we don't actually do anything API related. You'll actually want a DiscordJS e2e framework and not a Sapphire one. Once a DiscordJS one exists, we can consider adding a layer on top of it. That said, testing discord bots is a topic that's been discussed many times and always leads to the same conclusion, do not test the actual API layer but only test the functionality of your bot by extracting that code. Testing the actual API part is testing the Discord API and you don't need to do that, that's for Discord to do. You could explore https://github.com/ephemeralrogue/gauntlet, but I have no experience with it and I have no idea how well if at all it works.
In general, we have addressed the topic of testing bots before on the Discord server:
from framework.
ok thanks for clarifying and give me that hint. so maybe this needs to be addressed to discord itself.
from framework.
Related Issues (20)
- bug: Cannot find namespace "ChatInputCommand" from example code in guide HOT 2
- bug: incorrect conversions in object hashing HOT 1
- request: update for DiscordJS v14
- bug: setting `dm_permission` on guildonly command breaks difference
- request: only fetch guild commands for guilds that have commands associated
- bug: missing required args causes an "unwrap failed" error HOT 1
- bug: Calling Args#rest will include leading space
- RFC: Sapphire directory and automatic TypeScript augmentation support
- request: Can we have a support for discord.js-light HOT 5
- request: [CoreReady listener] automatically delete application commands not found in the Command store
- request: add `RegisterBehavior.BulkOverwrite`
- bug: Command#reload and CommandStore#loadAll do not handle BulkOverwrite
- request: Cog system HOT 2
- Suggestion for args.pick('member')
- bug: Not compatible with bun runtime HOT 5
- [SFW-81] bug: application command comparison failing causing command with no actual changes to get re-registered on every launch HOT 2
- request: rawName property for context commands
- request: setPresence.status uses a custom type, but could use readily available PresenceUpdateStatus enum. HOT 2
- request: Customize built in preconditions failure message HOT 1
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 framework.