Discord Transcription Bot
Loading...
Searching...
No Matches
Classes | Functions | Variables
main Namespace Reference

Classes

class  StreamBuffer
 The. More...
 
class  StreamSink
 

Functions

 join (ctx)
 
 leave (ctx)
 
 on_command_error (ctx, error)
 
 on_error (event, *args, **kwargs)
 
 on_ready ()
 
 once_done (discord.sinks sink, discord.TextChannel channel, *args)
 
 stop_recording (ctx)
 

Variables

 bot = discord.Bot(intents=intents)
 
dict connections = {}
 
 global_stream_buffer = StreamBuffer()
 
 intents = discord.Intents.all()
 
 stream_sink = StreamSink()
 
str TOKEN = "TODO Discord bot token"
 

Function Documentation

◆ join()

main.join ( ctx)

◆ leave()

main.leave ( ctx)

◆ on_command_error()

main.on_command_error ( ctx,
error )

◆ on_error()

main.on_error ( event,
* args,
** kwargs )

◆ on_ready()

main.on_ready ( )

◆ once_done()

main.once_done ( discord.sinks sink,
discord.TextChannel channel,
* args )

◆ stop_recording()

main.stop_recording ( ctx)

Variable Documentation

◆ bot

main.bot = discord.Bot(intents=intents)

◆ connections

dict main.connections = {}

◆ global_stream_buffer

main.global_stream_buffer = StreamBuffer()

◆ intents

main.intents = discord.Intents.all()

◆ stream_sink

main.stream_sink = StreamSink()

◆ TOKEN

str main.TOKEN = "TODO Discord bot token"