Skip to content

A Fortnite-themed Discord bot with a variety of commands

License

Notifications You must be signed in to change notification settings

Squiddleton/Paradigm

Repository files navigation

The Paradigm

About

A Fortnite-themed Discord bot with a variety of commands.

Setup

The developer-hosted bot's invite link can be found here, and its official support server is found here.

For self-hosting with all features, the bot's src/config.ts file should be of the following structure (filing out all properties as needed):

import type { Config } from './util/types.js';

const config: Config = { ... }; // Make object based on the Config interface

export default config;

The bot also relies on/makes use of the following permissions:

  • View Channels
  • Send Messages
  • Send Messages in Threads
  • Embed Links
  • Attach Files
  • Read Message History

Commands

This is a non-exhaustive list of the bot's more unique commands that may require further explanation.

/milestone

Various methods of managing milestones: achievements granted to members for completing feats. This command requires the user to have the Manage Server permission by default.

/milestone create

Create a milestone in the server.

/milestone delete

Delete a milestone from the server. This also removes the milestone from all members.

/milestone grant

Manually give a member a milestone.

/milestone list

List all of the available milestones in the server. This is part of the limited access /milestone command in case milestones are only meant to be seen by the server's moderators. As such, this command's response is ephemeral: only visible to its user.

/milestones

List a member's milestones in the server. Unlike /milestone, this command requires no permissions by default.

/settings

View and edit server-specific settings for The Paradigm. This command requires the user to have the Manage Server permission by default.

/settings edit

Set the wishlist channel (more below) for the server.

/settings view

View the amount of total giveaways, amount of total milestones, and wishlist channel for the server.

/wishlist

Set up notifications when certain in-game cosmetics appear in the Fortnite item shop. This information is provided by Fortnite-API instead of directly querying the official Epic API. The wishlist announcements are sent in the channel set from the wishlistchannel option of /settings edit. If the wishlist channel is not set, no members will be notified in that server.

Wishlist notification

/wishlist add

Add a cosmetic to your wishlist. Cosmetics cannot be added to the wishlist multiple times at once, and there is no limit to the amount of total wishlisted cosmetics. A user can add any cosmetic to their wishlist, but a warning message will appear if the cosmetic has a gameplay tag that usually indicates exclusivity.

/wishlist remove

Remove a cosmetic from your wishlist. You can re-add cosmetics to your wishlist at any time.

/wishlist clear

Remove all cosmetics from your wishlist. There is additional button confirmation before completing this permanent action.

/wishlist view

View the cosmetics in your wishlist in alphabetical order. You can also view the wishlist of other users, and it will be sent in an ephemeral message.

Credits

Epic Games, Inc. retains all of the rights to the Fortnite intellectual property. This package makes use of Fortnite-API and other external libraries listed in the package.json file.

About

A Fortnite-themed Discord bot with a variety of commands

Topics

Resources

License

Stars

Watchers

Forks