Giter VIP home page Giter VIP logo

nabbot's Introduction

NOTE: This is not a cavebot, this bot does not interact with the client in any way, NabBot is a messaging bot. We're not interested in developing cavebts, do not contact us for such reasons.

NabBot Build Status

Nab Bot is a discord bot that uses Rapptz's discord.py. It features commands related to the MMORPG Tibia.

Requirements

  • Python 3.4.2+ with modules:
    • psutil
    • pillow (Python Imaging Library)
    • requests
  • discord.py
  • Tested on Windows and Raspbian

Installing and running

To install discord.py simply run the following on the command line:

python -m pip install -U https://github.com/Rapptz/discord.py/archive/master.zip#egg=discord.py[voice] pillow psutil requests  

Create a bot token on Discord

https://discordapp.com/developers/applications/me

Allow the bot to join your server

https://discordapp.com/developers/docs/topics/oauth2#bots

Define the bots permissions for your server.
As of 17/November/2016, Nab Bot needs the following permissions: 257088

https://discordapi.com/permissions.html
https://discordapp.com/developers/docs/topics/oauth2#adding-bots-to-guilds

To run the bot, execute the following command:

python nabbot.py

For more detailed instructions, read the wiki article.

Current features

  • Character database to keep track of the member's characters
  • Level up and deaths are announced by the bot
  • Events can be created by users and announced by the bot
  • Many Tibia related functions and utilities

Commands

  • /check charname: Shows information about a character.
  • /guild guildname: Shows a list of the online players of a guild.
  • /share level/playername: Returns the level range for party experience share for the specified level or character.
  • /itemprice itemname: Returns a list of NPCs that buy the item
  • /deaths charname: Shows a list of the character's recent deaths
  • /stats level/vocation or /stats playername: Shows the total health, mana and capacity for the character or level and vocation specified
  • /online: Shows a list of the current server's discord users that are online on tibia. It shows their in-game character and discord user.
  • /whois discorduser: Shows the list of Tibia character registered to that discord user.
  • And others, like /levels, /events, /roles, etc

An example of the /check command

nabbot's People

Contributors

galarzaa90 avatar jukeplz avatar nezune avatar rodrigokiller avatar tschis avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.