Transcripts | Ticketing in Discord.py (Part 4)

Опубликовано: 24 Октябрь 2024
на канале: Digiwind
4,221
50

In this video, we continue the ticketing with buttons in discord.py series. Building on what we coded in the first three episodes, we add a ticket transcription feature - button and slash command.

03:36 after recording this video, I noticed that I hadn't used the UTC timezone for the generation time - use datetime.utcnow()

Discord.py Ticketing Series:    • Ticketing in Discord.py (with Buttons)  

More discord.py videos:    • discord.py  

Install discord.py v2.0: pip install discord.py

Documentation:
discord.ui.View: https://discordpy.readthedocs.io/en/l...
discord.ui.button: https://discordpy.readthedocs.io/en/l...
TextChannel.history: https://discordpy.readthedocs.io/en/l...
message.clean_content: https://discordpy.readthedocs.io/en/l...
message.created_at: https://discordpy.readthedocs.io/en/l...
message.edited_at: https://discordpy.readthedocs.io/en/l...
Message Content Privileged Intent FAQ:   / discord  

Discord Server:   / discord  
Twitter (@Digiwind_YT):   / digiwind_yt  
Top.gg: https://top.gg/user/512025208542986241
GitHub (Digiwind): https://github.com/Digiwind
Official Discord.py Server: discord.gg/dpy

Chapters:
0:00-0:33 Intro & Demo
0:33-0:55 Developer Portal: Message Content Intent
0:55-01:02 Code: Message Content Intent
01:02-03:57 Transcript Button
03:57-04:20 Transcript Slash Command
04:20-04:41 Running the Code
04:41-04:48 Future Features
04:48-04:58 Outro

#discordpy #dpy #digiwind #ticketing #ticketingsystem #ticketingbot #pythonprogramming