Skip to content
MaoShizhong edited this page Aug 18, 2024 · 13 revisions

Welcome to the odin-bot-v2 wiki! This bot is used in our Discord server and serves as a way to help users quickly access information, award one another points, and get engaged with the community and open-source contributions. Please read the sidebar for important guides and links. We abide by a Code of Conduct.

Getting Started

FAQ

How do I add a new command?

Check out our Commands Guide. Keep in mind, adding a new command should be discussed either in the server, in the #contributions-bugs-suggestions channel, or via an Issue.

Do I need to test all new commands to contribute?

Since most new commands now will be slash commands, we no longer require tests for all of them as things like discord.js' SlashCommandBuilder and EmbedBuilder have already been tested in their library. If a new slash command requires additional custom logic such as a custom service, that service will need tests.

How do I merge my changes into your repository?

Creating a Pull Request

I changed the output of a non-slash command and now the snapshot tests fail, what do I do?

You can run npm test <file>.js -- -u to update the snapshot test for your command. Please verify that the output matches your expected output.