Skip to content

BenMannMann/MannBot

Repository files navigation

MannBot v2

A Discord Bot. Originally built in Node.js, MannBot has been rewritten and revamped in PHP!

Setup

Create your keys.php file

  • $token is your Discord bot's token. You can find it within your Discord bot application settings, under Bot -> Build-A-Bot -> Token.
  • $thoughts_folder Here is the location to store MannBots and your users thoughts.
  • $currency The name you'd like to call the currency within the bot.
  • $bot_image Image URL of the bot.
  • $slot_icons Icons to use for the slot machine. You can use normal or custom emojis for this by passing in '<:emojiname:emojiid>'.
  • $slot_winnings How much the individual slot icons are worth.
  • $meme_reactions Emoji's that the bot will use when acknowledging a !meme request

Create some folders

You will need a folder for:

  • Your users thoughts. Default is set to storage/thoughts
  • Your images to use for meme generation. This is set in the code as storage/meme_generator/source_images
  • A generated memes folder. This is set in the code as storage/meme_generator/generated_memes

Add the bot to your Discord server and turn on

Once the Bot is on, it should generate the users.json file. This will grab all the users within your server and assign them some default data such as name, id, balance, xp and levels.

Commands

!commands - Generates an embed message showing all the commands

Releases

No releases published

Packages

No packages published

Languages