Skip to content

Edits a specified channel's name at regular intervals to act like a clock

License

Notifications You must be signed in to change notification settings

nekooftheabyss/tokino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tokino

I witnessed some people asking for bots that can make a VC act like a clock. Weird request but okay.

Installation

  • Clone this repo.
$ git clone https://github.com/retraigo/tokino
  • Open the repo in your command line.
$ cd tokino
  • Install dependencies.
$ npm i # NPM
$ pnpm i # PNPM
  • Open clock.js in a text editor.
  • Replace your channel id with the ID of the channel you wanna work with.
  • Replace insert-token-here with the token of your Discord bot.
  • Replace 60000 in the last line with any number of milliseconds to set an interval. It isn't recommended to go below 60000 tho.
  • Start the bot.
$ node clock.js

MAKE SURE THAT THE BOT HAS PERMISSIONS TO EDIT CHANNELS, OR AT LEAST THAT SPECIFIC CHANNEL.

Need the bot to not die after closing your terminal? Check out PM2.

About

Edits a specified channel's name at regular intervals to act like a clock

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published