command
module
Version:
v0.0.0-...-a76445b
Opens a new window with list of versions in this module.
Published: Jan 17, 2022
License: LGPL-3.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Telegram Music Bot in Go
An example bot using gotgcalls.
Setup
- Install the server.
- Create a
.env
file with the following variables:
APP_ID
and APP_HASH
, which are your Telegram app credentials obtained from
my.telegram.org/apps.
BOT_TOKEN
, which is your bot's token obtained from @BotFather
Running
go run .
Note that you will need to login to your Telegram account once.
Commands
Command |
Description |
stream |
Streams or queues the replied audio file. |
skip |
Skips the current stream. |
stop |
Stops streaming and clears the queue. |
mute |
Mutes the stream audio. |
unmute |
Unmutes the stream audio. |
pause |
Pauses the stream. |
resume |
Resumes the stream. |
Note that the commands currently work in supergroups only.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.