Go to file
Die Antwoord b4c48f31f2 Update to main 2023-01-23 14:56:29 +02:00
cogs Update to main 2023-01-23 14:29:07 +02:00
database Update to main 2023-01-23 14:29:07 +02:00
exceptions Update to main 2023-01-23 14:29:07 +02:00
helpers Update to main 2023-01-23 14:29:07 +02:00
bot.py Update to main 2023-01-23 14:29:07 +02:00
config.json Update to main 2023-01-23 14:53:30 +02:00
demo.config.json Update to main 2023-01-23 14:53:30 +02:00
install.py Update to main 2023-01-23 14:29:07 +02:00
main.py Update to main 2023-01-23 14:29:07 +02:00
readme.md Update to main 2023-01-23 14:56:29 +02:00

readme.md

Chappie Server BOT

  • Python and the library resources Here
  • Clone/Download the repository - git clone
$ git clone https://github.com/Die-Antwoord/lazybot.git
$ cd ./lazybot

Create Bot

Create config.json & .env

demo.config.json

{
  "prefix": "YOUR_BOT_PREFIX_HERE", // '.' or '!' Whatever you specify
  "token": "YOUR_BOT_TOKEN_HERE", // Bot Token here
  "permissions": "YOUR_BOT_PERMISSIONS_HERE", // Example '8' or '1024' https://discordapi.com/permissions.html
  "application_id": "YOUR_APPLICATION_ID_HERE ", // Bot ID
  "sync_commands_globally": true,
  "owners": [
    YOUR_OWNERS_ID_HERE,
    YOUR_OWNERS_ID_HERE
  ], // Owners ID here 'can be more than one separated with ','
  "TOMORROWIO_TOKEN": "WEATHER_API_TOKEN", //http://api.timezonedb.com/v2.1/get-time-zone
  "allowguilds": [GUILD_ID_ALLOWED], //GUILD Allowed to use the bot
  "guildmsgdisable": [GUILD_ID_DISALLOW_MESSAGES], //GUILDS to where the bot should not respond to
  "roles": [JOIN_ROLE_ID], //ROLES that member gain at GUILD_JOIN
  "welcome_mention": [ROLE_ID_ON_USER_JOIN] // ROLE_ID that will be mentioned as a member join the server
}

demo.env

TOKEN=YOUR_BOT_TOKEN_HERE
Webhook=YOUR_WEBHOOK_HERE

Dependences

Install BOT Requirements

  • RUN in Command-Promt
$ pip install -r requirements.txt

Run BOT

  • If you have just installed python today, then you just need to use the following command:
$ python bot.py
  • If you have multiple versions of python installed (2.x and 3.x) then you will need to use the following command:
$ python3 bot.py
  • or eventually
$ python3.x bot.py
  • Replace x with the version of Python you have installed.