Skip to content

wellinthatcase/trippie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trippie

Yet another Discord bot.

Contribution or Localhost

Trippie was written with NodeJS 14.14.0, so you may want to stay near this version.

Besides just running dist/Start.js, all you really need to do is set up a cfg:

  1. Create a folder named cfg inside of the src folder.
  2. Create a file named cfg.json inside of this folder.
  3. Add these keys:
    • token
      • The token of the bot.
    • botId
      • The integer Discord snowflake ID of the bot.
    • ownerId
      • Same as above, but the ID of the bot owner.
    • logFile
      • A path to a file in which to output logs to.
    • postgreUrlUser
      • The username of your PostgreSQL database.
    • postgreUrlPass
      • The password to this database.
    • postgreUrlName
      • The domain of this database.

Here's a good example of the base cfg:

{
    "token": "",
    "botId": 767425062533595207,
    "ownerId": 700091773695033505,
    "logFile": "logs/trippie.log",
    "postgreUrlUser": "bxukriei",
    "postgreUrlPass": "bJvHQ88eJ50S7H5H0CXEXw0ZXz4Wy8-o",
    "postgreUrlName": "salt.db.elephantsql.com:5432"
}

Be sure you've installed the most recent version of TypeScript, then just run tsc. It'll transpile and set up deps.

About

Yet another Discord bot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published