2023-04-04 11:47:02 -05:00
|
|
|
# NoMoreAcronyms
|
2023-03-30 17:26:12 -05:00
|
|
|
|
2023-04-04 20:50:02 -05:00
|
|
|
This is a bot that identifies abbreviations in a sentence and replaces them with the written out phrase!\n
|
|
|
|
Example:\n
|
2023-04-04 11:53:38 -05:00
|
|
|

|
2023-04-04 20:50:02 -05:00
|
|
|
\n
|
2023-04-04 19:41:15 -05:00
|
|
|
To run an instance of this bot, define your bot token, guildId (Server ID), and client ID in key.json, then run:
|
2023-04-04 20:50:02 -05:00
|
|
|
\n
|
2023-04-04 11:53:38 -05:00
|
|
|
`npm install discord.js`
|
2023-04-04 20:50:02 -05:00
|
|
|
\n
|
2023-04-04 11:53:38 -05:00
|
|
|
After that, register the bot commands:
|
2023-04-04 20:50:02 -05:00
|
|
|
\n
|
2023-04-04 11:53:38 -05:00
|
|
|
`node deploy-commands.js`
|
2023-04-04 20:50:02 -05:00
|
|
|
\n
|
2023-04-04 11:53:38 -05:00
|
|
|
And now all you need to do is start the bot!
|
2023-04-04 20:50:02 -05:00
|
|
|
\n
|
2023-04-04 11:53:38 -05:00
|
|
|
`node main.ts`
|