2023-04-04 11:47:02 +07:00
|
|
|
# NoMoreAcronyms
|
2023-03-30 17:26:12 +07:00
|
|
|
|
2023-04-04 20:50:02 +07: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 +07:00
|
|
|
![Example](images/example.png)
|
2023-04-04 20:50:02 +07:00
|
|
|
\n
|
2023-04-04 19:41:15 +07: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 +07:00
|
|
|
\n
|
2023-04-04 11:53:38 +07:00
|
|
|
`npm install discord.js`
|
2023-04-04 20:50:02 +07:00
|
|
|
\n
|
2023-04-04 11:53:38 +07:00
|
|
|
After that, register the bot commands:
|
2023-04-04 20:50:02 +07:00
|
|
|
\n
|
2023-04-04 11:53:38 +07:00
|
|
|
`node deploy-commands.js`
|
2023-04-04 20:50:02 +07:00
|
|
|
\n
|
2023-04-04 11:53:38 +07:00
|
|
|
And now all you need to do is start the bot!
|
2023-04-04 20:50:02 +07:00
|
|
|
\n
|
2023-04-04 11:53:38 +07:00
|
|
|
`node main.ts`
|