/Fortnite-Api-Discord

Discord bot to get information about items, creator codes or news using the api of fortnite-api.com

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Fortnite-Api Discord

Preview

This is a base in python to get fortnite data from Fortnite-Api.com using discord.py commands framework!

Usage

First you need to create an application in Discord Developer Portal, make an Bot and copy the token.

  • Configuration:
Token                   : Your bot´s token [str]
Prefix                  : Prefix for the commands. Leave it blank and it set automically to "f!" [str]
MaxSearchResults        : Max search results for "item" command [int]
Api response lang       : Default language of Fortnite-Api responses. Leave it blanck and it set automically to "en" [str]
Api request lang        : Default language of Fortnite-Api requests. Leave it blanck and it set automically to "en" [str]
  • Configuration Options:

Api languages:

ar / de / en / es / es-419 / fr / it / ja / ko / pl / pt-BR / ru / tr / zh-CN / zh-Hant
  • Commands:
item     : Get info for item name
brnews   : Show a embedded gif with the last BR News
cc       : Get info for requested creator code

Please Note: If you are going to use this bot on a project I appreciate if you leave credits!