Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thebowja/poringworldbot
Snappening bot for Ragnarok M: Eternal Love Global using poring.world
https://github.com/thebowja/poringworldbot
bot discord discord-bot nodejs poring-world ragnarokmobile snapping
Last synced: 29 days ago
JSON representation
Snappening bot for Ragnarok M: Eternal Love Global using poring.world
- Host: GitHub
- URL: https://github.com/thebowja/poringworldbot
- Owner: theBowja
- License: mit
- Created: 2020-05-15T01:31:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-04T05:42:49.000Z (8 months ago)
- Last Synced: 2024-05-04T06:29:52.740Z (8 months ago)
- Topics: bot, discord, discord-bot, nodejs, poring-world, ragnarokmobile, snapping
- Language: JavaScript
- Homepage:
- Size: 590 KB
- Stars: 15
- Watchers: 3
- Forks: 12
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PoringWorldBot
This is a snappening bot that queries the first 60 popular snaps from poring.world every six minutes and notifies an item to any subscribed request a user makes.Disclaimer: **I am not the developer of poring.world**.\
Disclaimer: **This bot works only for the Global server**.You can contact me on discord for help by [joining my server here](https://discord.gg/Rsq8Vpn).
## Invite link
You can use [this invite link](https://discord.com/api/oauth2/authorize?client_id=597932863597576204&permissions=149504&scope=applications.commands%20bot) to add the bot I host to your server. My bot is hosted from my Raspberry Pi. It's usually online except for when I get rare power outages.## Permissions
- **Send Messages**: This is a *required* permission.
- **Embed Links**: This is *highly recommended*. Without this permission, you won't be able to see the stock, buyers, and time left.
- **Mention @everyone, @here, and All Roles**: This is not required. However if you give this permission to the bot, then moderators can assign requests to roles so the bot can ping roles.## Quick and easy instructions
1. Use the invite link provided previously to add the bot to your server. Be sure to check the boxes for all the required permissions.
2. Create a new channel. A few requests can create a lot of spam throughout the day that you probably don't want in your main channels.
3. Allow the bot to act in that channel. Right click the new channel -> Edit Channel -> Permissions -> Roles/Members + -> PoringWorldBot
4. Use the command `/watch` in that channel and the bot will start listening to requests in that channel.
5. Consult [this wiki page](https://github.com/theBowja/PoringWorldBot/wiki/Parameters-for-adding-a-request) for help on constructing a request.
6. Consult [this wiki page](https://github.com/theBowja/PoringWorldBot/wiki/Command-reference) for detailed commands and usage.## Trouble-shooting
### None of the slash commands for PoringWorldBot are showing up
Try https://discord.com/developers/docs/interactions/application-commands#syncing-and-unsyncing-permissions check if the defaults are being overriden.
# raspberry pi
The following instructions are for myself and should not be relevant to you because they're TODOs zzz.
better-sqlite3 requires python installation
updating from github
```
git pullgit fetch --all
git reset --hard origin/master
```
starting the bot
```
sudo npm install -g forever
forever start bot.js
```
Use the 'exit' command when exiting out of ssh. If you just close out your command line, it might kill your application.deleting the process (out of date)
```
ps -ef | grep "node bot.js"
kill -9 [pid]
```
where pid is what you got from ps