diff options
| author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-27 01:37:01 -0500 |
|---|---|---|
| committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-27 01:37:01 -0500 |
| commit | ae77bfd1d1df50d8159e50fee4f7c5616cffe1b8 (patch) | |
| tree | 4c1ac7be700ea46432ede85a0d128394e3b31b45 /discord/discord.hpp | |
| parent | 1463d8da9e1b4c49021e6fa75795e2cd054b6227 (diff) | |
| download | abaddon-portaudio-ae77bfd1d1df50d8159e50fee4f7c5616cffe1b8.tar.gz abaddon-portaudio-ae77bfd1d1df50d8159e50fee4f7c5616cffe1b8.zip | |
set user-agent through ini
Diffstat (limited to 'discord/discord.hpp')
| -rw-r--r-- | discord/discord.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/discord.hpp b/discord/discord.hpp index a8729d8..487903f 100644 --- a/discord/discord.hpp +++ b/discord/discord.hpp @@ -112,6 +112,7 @@ public: std::optional<Snowflake> FindDM(Snowflake user_id); // wont find group dms void UpdateToken(std::string token); + void SetUserAgent(std::string agent); private: static const constexpr int InflateChunkSize = 0x10000; |
