main PID: RJo-aiH2TopYr-zLreGuO88b7HN0sauxox7_NbYM1I4
InterstellarChat Relay Bot is a fun and interactive bot designed to relay messages between a native chatroom and a Discord server. It also includes rate limiting and command handling for a better user experience.
- Rate limiting to prevent spam.
- Users can select the language preferences for commands in English and Turkish.
- Fun and interactive commands like
!joke
,!quote
,!weather
,!price
and!setlang
. - Themed logging and messages for an engaging experience.
- Fetch current weather information.
- Check real-time cryptocurrency prices.
npm install discord.js ws @permaweb/aoconnect fs express express-rate-limit axios dotenv
- Create a
.env
file in the root directory:
- DISCORD_BOT_TOKEN=your-discord-bot-token
- DISCORD_CHANNEL_ID=your-discord-channel-id
- OPENWEATHER_API_KEY=your-openweather-api-key
- COINAPI_API_KEY=your-coinapi-api-key
- AOS_WALLET_PATH=/root/.aos.json
- GETTING_STARTED_PID=6I1JBBc9SOMtqFxlX7OoYgsMh7QeZk2fFwUCHTUqshg
- AOS_PID=
!joke
: Get a random joke.!quote
: Get a random motivational quote.!weather
: Get current weather information for a specified location.!price <coin>
: Get real-time price of a specified cryptocurrency (e.g.,!price ar
).Say("!joke", "GalacticRoom")
Say("!quote", "GalacticRoom")
!setlang [en|tr]
: Set your preferred language for bot responses.
Example usage:!setlang en
/!setlang tr
or in AOSSay("!setlang en|tr", "GalacticRoom")