Skip to content

Commit

Permalink
refactor: Improve /help wording; Adjust footers; Rm /about
Browse files Browse the repository at this point in the history
  • Loading branch information
fearandesire committed May 14, 2024
1 parent 204b189 commit d49a27d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 65 deletions.
36 changes: 0 additions & 36 deletions src/commands/info/about.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/lib/PlutoConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const footers = [
'❓ View more commands via /commands',
'❓ Learn more about Pluto via /about',
'💙 Support Pluto via /patreon',
'dev. by fenixforever',
]

function helpfooter() {
Expand Down
32 changes: 4 additions & 28 deletions src/utils/commands/info/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,11 @@ import embedColors from '../../../lib/colorsConfig.js'
import { helpfooter } from '@pluto-core-config'

export default class PlutoInfo {
static aboutInfo() {
return {
title: 'About Pluto',
description: `
Pluto is a full-fledged betting bot with a strong focus on simplicity. You can securely place bets on NFL & NBA games and participate in the online betting scene without using real-life currency.
# :robot: __Pluto Features:__
◦ **H2H Wagers**
◦ **Real-Time Bet processing**
◦ **Real-Time Game Channel scheduling and deletion**
━━━━━━━━
Pluto uses virtual currency with real match odds from various bookmakers to simulate common popular betting sites & the real betting experience.
**For usage, please refer to the /help command!**
:heart: **Enjoy using Pluto? [Support development & server cost](https://ko-fi.com/fenix7559)**
:nerd: [GitHub](https://github.com/fearandesire/Pluto-Betting-Bot)
:question: For questions/concerns, contact me: **<@${process.env.APP_DEV_ID}>**`,
thumbnail: `https://i.imgur.com/RWjfjyv.png`,
color: embedColors.PlutoBlue,
footer: `© fenixforever 2024 | Version: ${process.env.PROJECT_VERSION}`,
target: `reply`,
}
}

static commandsInfo() {
const cmdList = {
betting: {
odds: "View the odds for this week's matches",
bet: 'Place a bet on a matchup',
bet: 'Place a bet on a match',
cancelbet: "Cancel a pending bet you've placed",
balance: 'View your current balance',
},
Expand All @@ -37,12 +15,10 @@ Pluto uses virtual currency with real match odds from various bookmakers to simu
leaderboard:
"View the betting leaderboard, see who's on top and where you stand!",
help: 'View information on how to use the bot',
commands: 'View all commands available to you',
commands: 'View all commands',
bethistory: 'View the track record of your bets',
},
}

// Formatting the commands into a string for display
const formatCommands = (cmds: {
[key: string]: { [key: string]: string }
}) => {
Expand Down Expand Up @@ -73,8 +49,8 @@ Pluto uses virtual currency with real match odds from various bookmakers to simu

static helpInfo() {
return {
title: `How to use Pluto :coin:`,
description: `Pluto provides the fun of placing wagers on sports games, featuring leaderboards and statistics to compete against others.\n# Getting Started\nTo get started, first run the slash command \`/odds\` and view the current odds available. You can immediately start placing bets with the \`/bet\` command. You'll start with a balance of $50 to bet with.\nUse the command \`/dailyclaim\` every 24 hours to receive free money into your account - this is useful if you ran out of money. Don't give up!\n# Process\nOnce a game ends, the bets placed on it will be processed.\nYou'll receive a DM from Pluto with your winnings and relevant bet result information.\nUse /commands to view all commands available\n***💜 Want to support the development of Pluto? Use the /about command***`,
title: `Pluto Documentation`,
description: `Pluto is a full-fledged betting app that creates a competitive sports betting environment.\n# Getting Started\n1. Run the \`/odds\` command to view current betting odds.\n2. Use the \`/bet\` command to place bets, starting with a balance of $50.\n3. Use the \`/dailyclaim\` command every 24 hours to get free money if you run out of funds.\n\n**💜 [Support Pluto](https://www.patreon.com/fenix_)**\n**🌐 [Documentation](https://docs.pluto.fearandesire.com)**`,
thumbnail: `https://i.imgur.com/RWjfjyv.png`,
color: embedColors.PlutoBlue,
footer: helpfooter(),
Expand Down

0 comments on commit d49a27d

Please sign in to comment.