Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 489 Bytes

File metadata and controls

25 lines (23 loc) · 489 Bytes

DiscordLineBot

Installation

  1. 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"
  1. Start BOT
python discord_bot.py