Skip to content

Instantly share code, notes, and snippets.

@Default-01
Created August 10, 2022 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Default-01/7bfe0959ec4a0ce089dcc6f2e0b717e5 to your computer and use it in GitHub Desktop.
Save Default-01/7bfe0959ec4a0ce089dcc6f2e0b717e5 to your computer and use it in GitHub Desktop.
Here is the translation and config file found for the Ark FunBot.
/**
* ARK FUN BOT
*
* SETUP AND INVITE YOUR BOT HERE: https://docs.google.com/document/d/1NtOlgD0Js-gLL9QZh0bYikZuvqpq7sFSA6xDzhMN3Cs/edit?usp=sharing
* IN CASE YOU HAVE ANY ISSUES PLEASE READ THESE INSTRUCTIONS: https://docs.google.com/document/d/11OD4pzrH-qWwKBUuihEvTOR_pnkhbum3KSHBH74yEKs/edit?usp=sharing
*/
module.exports = {
token: "", // Bot token
guildId: "", // Discord server id
accountId: "", // DBD account id
databases: { // Databases
shopDatabase: { // Shop database
host: "localhost",
user: "root",
password: "joey1006",
port: 3306,
database: "ark1000xshop"
},
linksDatabase: { // Linking database
host: "localhost",
user: "root",
password: "joey1006",
port: 3306,
database: "leaderboard"
}
},
settings: {
linkingSystem: "kalscrosschat", // Choose what linking system you wanna use. options: "lethalquests", "discordintegrator", "kalscrosschat"
colors: { // Change the hex colors into numbers by chnageing the "#" into "0x" + the hex number. (#FFFFFF = 0xFFFFFF)
main: 0x24A8D4,
wins: 0x77B255,
losses: 0xCC3131
}
},
games: { // Game settings.
trading: {
enabled: true,
cooldownMin: 5,
minAmount: 0,
maxAmount: 1000
},
rps: {
enabled: true,
cooldownMin: 5,
pointMultiplier: 2,
minBet: 10,
maxBet: 100,
},
jackpot: {
enabled: true,
cooldownMin: 1,
minBet: 10,
maxBet: 100,
multipliers: {
tripleCherry: 20,
tripleGrapes: 15,
tripleMelon: 10,
triplePineapple: 5
}
},
roll: {
enabled: true,
cooldownMin: 5,
pointMultiplier: 5,
minBet: 10,
maxBet: 100,
},
hangman: {
enabled: true,
cooldownMin: 0,
rewardPoints: 200,
takePoints: 100,
guessWords: [
"discord",
"funbot",
"defaults bot development"
]
}
}
}
{
"general": {
"notEnoughPoints": "❌ You dont have enough points, you have `{points} points`.",
"onCooldown": "❌ You are still on cooldown for this command, cooldown ends {time}.",
"mustBeLinked": "❌ You must be linked to play this game!",
"userNotLinked": "❌ The specified user is not linked with ark."
},
"rps": {
"commandName": "rps",
"commandDescription": "Play a game of rock paper scissors.",
"betOptionName": "bet",
"betOptionDescription": "Set a bet amount to play the game.",
"choiceOptionName": "choice",
"choiceOptionDescription": "Choose the option you want.",
"choiceOptionRock": "🪨 Rock",
"choiceOptionPaper": "🧻 Paper",
"choiceOptionScissors": "✂️ Scissors",
"embedtitle": "ArkFun | Rock, Paper, Scissors",
"tieMessage": "Its a **TIE**! You both threw `{result}`, Your points are not taken.",
"winMessage": "You **WON**! You threw `{choice}` and i choose `{result}`. You won :coin: **${points} Points**",
"loseMessage": "You **LOST**! You threw `{choice}` and i choose `{result}`. You lost :coin: **{points} Points**"
},
"jackpot": {
"commandName": "jackpot",
"commandDescription": "play a game of jackpot.",
"betOptionName": "bet",
"betOptionDescription": "Set a bet amount to play the game.",
"embedtitle": "ArkFun | Jackpot",
"winMessage": "**Result:** {emojis}\n\nCongratulations {user}! You have multiplied your points by **{multiplier}**x resulting in :coin: **{points} points**!",
"loseMessage": "**Result:** {emojis}\n\n{user}, you lost {bet} points :cry:, want to give it another try?"
},
"roll": {
"commandName": "roll",
"commandDescription": "play a game of Roll the dice",
"betOptionName": "bet",
"betOptionDescription": "Set a bet amount to play the game.",
"diceOptionName": "dice",
"diceOptionDescription": "Choose a number between 1 - 6",
"embedtitle": "ArkFun | Roll a Dice",
"winMessage": "**Result:** you choose {bet} i rolled {result}\n\n**Congratulations** {user}! You won a total of 💰 **{points}** points!",
"loseMessage": "**Result:** you choose {bet} i rolled {result}\n\n{user}, you **lost** your {points} points! would you dare to give it another try?"
},
"hangman": {
"commandName": "hangman",
"commandDescription": "play a game of Hangman",
"embedtitle": "ArkFunBot | Hangman",
"gameover": "GAME OVER",
"gamewinner": "GAME WINNER",
"usedLetters": "Used letters",
"guessWord": "Guess the word",
"winMessage": "You **WON**! 💰 `{points}` Points are added!",
"loseMessage": "You **LOST**! 💰 `{points}` Points are taken!"
},
"trading": {
"commandName": "trading",
"commandDescription": "Trade your points with other players.",
"userOptionName": "user",
"userOptionDescription": "Select a user to send your points to.",
"amountOptionName": "amount",
"amountOptionDescription": "Specify the amount of points you wanna trade.",
"cantTrade": "You cant trade with yourself... Select a different user to trade with.",
"embedtitle": "ArkFun | Trading",
"tradeSuccess": "✅ {trader} Traded `{points} Points` with {user}."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment