- Create discord bot Generate token and put in .env file
DISCORD_TOKEN="your token"
Then add your bot to discord channel 2. Create line bot Generate CHANNEL_SECRET and CHANNEL_ACCESS_TOKEN then put in .env file
CHANNEL_TOKEN="channel access token"
CHANNEL_SECRET="channel secret"
Then add your bot to line group 3. Find line group ID and put in .emv file
LINEGROUP="your line group ID"
- Start BOT
python discord_bot.py