- incredibly early development -> don't use for anything...
// TODO: more details needed
- youtube-dl
apt install youtube-dl
- ffmpeg
- Option 1:
apt install libavutil-dev libavdevice-dev libavfilter-dev libavformat-dev
- Option 2:
apt install ffmpeg
- Option 1:
- opus
apt install libopus-dev
- zeromq
apt install libzmq3-dev
- ...
- nats:
docker run \ -it \ --restart=unless-stopped \ --name=nats \ -p 4222:4222 \ -p 8222:8222 \ -d nats:latest
get DISCORD_TOKEN
from:
https://discord.com/developers/applications/<application_id>/bot
get invite link from:
https://discord.com/developers/applications/<application_id>/oauth2
e.g.:
https://discord.com/api/oauth2/authorize?client_id=<client_id>&permissions=0&scope=bot%20applications.commands
response:
[
GuildChannel {
id: ChannelId(<channel_id>),
bitrate: None,
category_id: None,
guild_id: GuildId(<guild_id>),
kind: Category,
last_message_id: None,
last_pin_timestamp: None,
name: "Text Channels",
permission_overwrites: [],
position: 0,
topic: None,
user_limit: None,
nsfw: false,
slow_mode_rate: None,
rtc_region: None,
video_quality_mode: None,
message_count: None,
member_count: None,
thread_metadata: None,
member: None,
default_auto_archive_duration: None
},
GuildChannel {
id: ChannelId(<channel_id>),
bitrate: None,
category_id: None,
guild_id: GuildId(<guild_id>),
kind: Category,
last_message_id: None,
last_pin_timestamp: None,
name: "Voice Channels",
permission_overwrites: [],
position: 0,
topic: None,
user_limit: None,
nsfw: false,
slow_mode_rate: None,
rtc_region: None,
video_quality_mode: None,
message_count: None,
member_count: None,
thread_metadata: None,
member: None,
default_auto_archive_duration: None
},
GuildChannel {
id: ChannelId(<channel_id>),
bitrate: None,
category_id: Some(ChannelId(<channel_id>)),
guild_id: GuildId(<guild_id>),
kind: Text,
last_message_id: Some(MessageId(<message_id>)),
last_pin_timestamp: None,
name: "general",
permission_overwrites: [],
position: 0,
topic: None,
user_limit: None,
nsfw: false,
slow_mode_rate: Some(0),
rtc_region: None,
video_quality_mode: None,
message_count: None,
member_count: None,
thread_metadata: None,
member: None,
default_auto_archive_duration: None
},
GuildChannel {
id: ChannelId(<channel_id>),
bitrate: Some(64000),
category_id: Some(ChannelId(<channel_id>)),
guild_id: GuildId(<guild_id>),
kind: Voice,
last_message_id: None,
last_pin_timestamp: None,
name: "General",
permission_overwrites: [],
position: 0,
topic: None,
user_limit: Some(0),
nsfw: false,
slow_mode_rate: None,
rtc_region: None,
video_quality_mode: None,
message_count: None,
member_count: None,
thread_metadata: None,
member: None,
default_auto_archive_duration: None
},
GuildChannel {
id: ChannelId(<channel_id>),
bitrate: None,
category_id: Some(ChannelId(<channel_id>)),
guild_id: GuildId(<guild_id>),
kind: Text,
last_message_id: Some(MessageId(<message_id>)),
last_pin_timestamp: None,
name: "events",
permission_overwrites: [
PermissionOverwrite {
allow: ADD_REACTIONS,
deny: SEND_MESSAGES,
kind: Role(RoleId(<role_id>))
}
],
position: 2,
topic: None,
user_limit: None,
nsfw: false,
slow_mode_rate: Some(0),
rtc_region: None,
video_quality_mode: None,
message_count: None,
member_count: None,
thread_metadata: None,
member: None,
default_auto_archive_duration: None
}
]