Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


post discord webhook

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
HexaG0n
Advanced Cheater
Reputation: 0

Joined: 29 Mar 2021
Posts: 64

PostPosted: Thu Jun 17, 2021 9:32 am    Post subject: post discord webhook Reply with quote

is it possible to send stuff to discord webhook? i want to make some register and login thing that send me user name and pass after register
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Thu Jun 17, 2021 1:12 pm    Post subject: This post has 1 review(s) Reply with quote

You can with LuaSocket via its https request setup.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
HexaG0n
Advanced Cheater
Reputation: 0

Joined: 29 Mar 2021
Posts: 64

PostPosted: Fri Jun 18, 2021 1:30 am    Post subject: Reply with quote

atom0s wrote:
You can with LuaSocket via its https request setup.

how can i use it from cetrainer? do i need to add anything to the table?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Fri Jun 18, 2021 1:52 am    Post subject: Reply with quote

you'll need to read and understand this: https://discord.com/developers/docs/resources/webhook
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Shirabrixx
How do I cheat?
Reputation: 0

Joined: 13 Jul 2017
Posts: 8

PostPosted: Mon Jul 19, 2021 8:30 pm    Post subject: Reply with quote

Code:

function discord_post(content) -- send text to discord channel
    local discordhook = "your webhook address"
    int=getInternet()
    int.postURL(discordhook, "content="..content)
    int.destroy()
end
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites