Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 2.17 KB

README.md

File metadata and controls

33 lines (28 loc) · 2.17 KB

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.