Skip to content

A bot allowing you to use the Italy Mafia Roleplay Forum and Dashboard to your advantage.

License

Notifications You must be signed in to change notification settings

Montrii/SAMP-IMRPBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMRPBot

This is a Bot allowing you to utilize the Italy Mafia Roleplay Forum and Italy Mafia Roleplay Dashboard within Discord.

I used to use this Bot in order to get any reports about my friends and myself in realtime and also to search for other players very easily.

I know the code is kinda sloppy in some sense, however it did it's job.

The Bot was written in JavaScript with discord.js, puppeteer and cheerio.

Warning: The features may be deprecated due to Forum or Dashboard updates. The project is no longer actively maintained and therefore discontinued. This script does not store any of your information on some server. All data remains local.

Features

  • /online -> Tells you how many players are currently online.
  • /admins -> Showcases all current logged in admins.
  • /factions -> Displays useful information about each available faction.
  • /searchplayer <Player_Name> -> Fetches public Information about entered player.
  • Automatically fetching all player reports based on family name.

All commands (including reports) are being showed in embeds.

Installation

In order to install this bot, you will need to setup a few things before actually running it.

(If you are using Heroku, also include this step)

Note: Any Server that runs on Linux might have issues using puppeteer. You might wanna look into your specific OS to find a work around.

Now if your enviroment is fully setup, install all required packages:

npm install

Before launching the script, you now have to add the required information into your .env file. Please take a look at it to understand how the information is added in there.

Once that is done, launch the script:

node entry.js 

Screenshots

Down here you can see some screenshots on how the bot sends messages.

Player Report

Search Player

Online Command (...)

Authors

License

MIT

About

A bot allowing you to use the Italy Mafia Roleplay Forum and Dashboard to your advantage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published