cj

command module
v0.0.0-...-f3179c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

README ΒΆ

SA:MP Forum Discord Bot

All Contributors

CJ

Development

This project is open to anyone who wants to contribute, large or small! Whether you noticed a typo or want to add a whole new feature, go for it!

Large additions should be discussed in issues or on Discord first. If you're new to Golang, ask me on Discord for where to start and you can use CJ as a starting point for a contribution.

Testing/Workflow

To run the app, you need:

  • A Discord server to test - you can't use the SA:MP Discord to do tests
  • Go 1.11 - no guarantees on older versions
  • A Discord bot with the 'Server Members Intent' enabled

If you don't own/admin a Discord server, creating one is simple, you can do it from the same menu you join discord servers from.

Running with a database

If you want to develop features that require persisting data, spin up a MongoDB database. If you have Docker installed, this is as simple as running make mongodb which will start a MongoDB container with a user root that has no password. If you don't have Docker, you'll need to install MongoDB onto your system..

Running without a database

If you don't need a database for your feature, just add NO_DATABASE=true to .env.

Finally, the application requires some configuration. Copy the example.env to .env and modify it to use your token and various IDs. Depending on what you're working on, some values won't be necessary.

Now you can build and run the application with make local.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Octavian Dima
Octavian Dima

πŸ’» πŸ€” πŸ›
J0shES
J0shES

πŸ’» πŸ€” πŸ› 🚧
Dayvison
Dayvison

πŸ’»
Adrian Graber
Adrian Graber

πŸ’»
__SyS__
__SyS__

πŸ’»
Robster
Robster

πŸ–‹
Lasha Kanteladze
Lasha Kanteladze

πŸ’» ⚠️ πŸ€”
Kristo Isberg
Kristo Isberg

πŸ’» ⚠️ πŸ€”
Marcel Schramm
Marcel Schramm

πŸ’»
Codeah
Codeah

πŸ’»
Giampaolo Falqui
Giampaolo Falqui

πŸ“–
Sunehildeep
Sunehildeep

πŸ’»
TommyB
TommyB

πŸ–‹
Nikola Yanakiev
Nikola Yanakiev

πŸ–‹

This project follows the all-contributors specification. Contributions of any kind welcome!

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL