Skip to content

About

NosCore bot for Discord.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

NosCore

NosCoreBot

Build Discord MIT License

The NosCore Discord bot: help and moderation commands, a points leaderboard, translator roles, and an hourly job that publishes the latest parser input files when the client's data archives change.

Commands

A command starts with / (/help), or follows a mention of the bot.

Command What it does
/help Lists the commands
/add-points <user> <type> <amount>, /info-points, /leaderboard Gives, shows and ranks members' points. Types: ContributionPoint (code, x10), DonationPoint (x5), PacketPoint (packet logs, x5); past TranslationPoints still count x1
/delete-message <amount> Deletes the last messages
/clear Replaces the channel with an empty copy that keeps its settings, permissions and webhooks
/contributor <user> [message] Admins only: gives the Contributor role and announces it in general, with the message if given
/role-add <user> <role> Admins only: gives a role
/role-remove <user> <role> Admins only: takes a role away
/reset-i18n Empties the list of missing translations

Running

The bot reads its settings from the environment: token (the Discord bot token); S3_ACCESS_KEY, S3_SECRET_KEY and S3_BUCKET for the bucket it publishes the parser input files to; and S3_KEY, the object reset-i18n writes. RUN_ONCE=true runs the publishing job once and exits.

The points commands read contribution.json from the bucket and never create it, so upload one holding [] before using them on a new bucket.

dotnet build
dotnet build/net11.0/NosCoreBot.dll

Contributing

Questions, ideas and pull requests are welcome; most of the discussion happens on Discord. Any editor that handles .NET 11 works: dotnet build and dotnet test run on Windows, Linux and macOS. In Visual Studio, Roslynator and ReSharper help keep to the code style.

Supporting NosCore

NosCore is a spare-time open source project. Sponsoring buys time spent on the emulator and the packages around it, and gives the Supporter role on Discord.

Sponsor on GitHub Support on Ko-fi Become a patron

Thanks to Navicat for supporting the project.

Navicat

Legal

NosCore is an independent, unofficial project for educational use. It is not affiliated with, authorized, maintained, sponsored or endorsed by Gameforge or any of its affiliates; NosTale is a trademark of Gameforge. Using it may be against the terms of service of NosTale servers.

Released under the MIT License.

About

NosCore bot for Discord.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages