Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/retrixe/ivebot
The bot that made the iPhone X.
https://github.com/retrixe/ivebot
apollo-client assistant bot discord discord-bot eris graphql graphql-yoga mongodb nextjs react typescript
Last synced: 3 months ago
JSON representation
The bot that made the iPhone X.
- Host: GitHub
- URL: https://github.com/retrixe/ivebot
- Owner: retrixe
- License: apache-2.0
- Created: 2017-11-25T18:34:25.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-04-04T21:34:59.000Z (10 months ago)
- Last Synced: 2024-05-02T02:17:20.786Z (9 months ago)
- Topics: apollo-client, assistant, bot, discord, discord-bot, eris, graphql, graphql-yoga, mongodb, nextjs, react, typescript
- Language: TypeScript
- Homepage: https://ivebot.now.sh
- Size: 2.26 MB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IveBot
The bot that created the iPhone X. It's strictly private. You may run it locally, but it's not a useful bot to others and tailored for a specific need.
**Requires Node.js 12.x or higher.**
It includes many different and useful commands, from games to tools, utilities, fun commands, moderation and even a `/ai` command which generates text responses to inputs. It also uses Next.js to provide a web dashboard as part of the bot itself.
Commands
`/halp` and `/help` - The most innovative help.
**Games.**
- `/gunfight`
- `/random`
- `/randomword`
- `/choose`
- `/reverse`
- `/trivia`
- `/8ball`
- `/repeat`
- `/calculate`
- `/distort`**Random searches.**
- `/urban`
- `/cat` and `/dog`
- `/robohash`
- `/zalgo` `/dezalgo`
- `/namemc`
- `/astronomy-picture-of-the-day` or `/apod`
- `/currency`
- `/xkcd`
- `/httpcat`
- `/google`**Utilities.**
- `/request`
- `/token`
- `/weather`
- `/say` | `/type`
- `/editLastSay`
- `/reminderlist`
- `/remindme`
- `/leave`
- `/ocr`
- `/avatar`
- `/userinfo`
- `/serverinfo`
- `/creationtime`
- `/about`, `/ping`, `/uptime` and `/version`
- `/emojiImage`
- `/giverole` and `/takerole`
- `/notify`
- `/hastebin`
- `/suppressEmbed`**Administrative commands.**
- `/ban`, `/unban`, `/kick`, `/mute` and `/unmute`
- `/addEmoji`, `/deleteEmoji` and `/editEmoji`
- `/deleteChannel` and `/editChannel`
- `/warn`, `/warnings`, `/clearwarns` and `/removewarn`
- `/changevoiceregion` and `/listvoiceregions`
- `/perms`
- `/purge`
- `/slowmode`[Complete list of commands along with their descriptions available here.](https://github.com/retrixe/IveBot/blob/master/src/commands/help.ts#L6)
## Configuration
Set up a MongoDB instance and note its URL. You can set it to store its data in `database` within this folder (you must first make the folder before starting MongoDB)
Make a file named `config.json5` in the top-level directory. It should be something like this:
```json
{
"token": "",
"testPilots": ["array of people who can use test pilot commands via user ID"],
"NASAtoken": "",
"oxfordAPI": {
"appKey": "",
"appId": ""
},
"host": "",
"weatherAPIkey": "",
"fixerAPIkey": "",
"jwtSecret": "",
"cvAPIkey": "",
"mongoURL": "",
"rootURL": ""
}
```You can use comments in JSON5. If you're using a deployment service like Now which supports secrets, then you can secure your token and MongoDB database URL by setting the value of both keys to `dotenv` and then setting the IVEBOT_TOKEN environment variable to your token and the MONGO_URL env variable to the MongoDB instance URL.
## Dashboard Configuration
Since 4.0 onwards, the dashboard has been separated and needs to run separately. Refer to the README.md in the `dashboard/` folder.