Skip to content

brick-bk/Cartoland20230625

 
 

Repository files navigation

banner

Cartoland Bot

Online Members

Description

The source code of Cartoland Bot, a discord bot developed for a server named Cartoland. Join Cartoland here: https://discord.gg/UMYxwHyRNE

Required folders and files

For performance reasons, this bot won't verify if all the necessary paths and files exist. If you want to run the bot yourself, you must have the following folders and files:

  • 📁lang/ with all .json files found in the lang/ folder of this repository.
  • 📁logs/
  • 📁serialize/ with these following files:
    • 📄all_members.ser serialized from a HashSet which use Long as value.
    • 📄birthday_array.ser serialized from a ArrayList[] which use Long as value.
    • 📄birthday_map.ser serialized from a HashMap which use Long as key and Short as value.
    • 📄has_start_message.ser serialized from a HashSet which use Long as value.
    • 📄idled_questions.ser serialized from a HashSet which use Long as value.
    • 📄introduction.ser serialized from a HashMap which use Long as key and String as value.
    • 📄lottery_data.ser serialized from a HashMap which use Long as key and cartoland.utilities.CommandBlocksHandle.LotteryData as value.
    • 📄temp_ban_list.ser serialized from a HashSet which use long[] as value.
    • 📄users.ser serialized from a HashMap which use Long as key and String as value.

Launching

Start the bot by running the following command in your terminal:

java -jar Cartoland.jar <token>

Replace the <token> argument with the token of your own bot. Make sure you have all the required folders and files before launching.

About

Cartoland Bot source code 20230625

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%