2020-12-05 13:08:24 +01:00
|
|
|
#pragma once
|
2018-06-16 22:56:21 +02:00
|
|
|
|
2020-02-22 20:42:49 +01:00
|
|
|
#include <string>
|
2018-06-16 22:56:21 +02:00
|
|
|
|
|
|
|
|
namespace discord
|
|
|
|
|
{
|
|
|
|
|
// Convenience function for initialization
|
|
|
|
|
void initialize(const std::string& application_id = "424004941485572097");
|
|
|
|
|
|
|
|
|
|
// Convenience function for shutdown
|
|
|
|
|
void shutdown();
|
|
|
|
|
|
|
|
|
|
// Convenience function for status updates. The default is set to idle.
|
|
|
|
|
void update_presence(const std::string& state = "", const std::string& details = "Idle", bool reset_timer = true);
|
2025-04-05 21:50:45 +02:00
|
|
|
} // namespace discord
|