Equivalently, without doing the "relevement" with the BC, you can consider what happens physically to your system: you continuously excite the field with your harmonic boundary condition, which makes a forced mode $u_f$ appear. This mode must satisfy your BC and the wave equation, and take the form of a stationnary wave looking like $$u_f(x,t)=\frac{A}{\sin(\frac{\Omega L}{c})}\sin(\frac{\Omega}{c}x)\cos(\Omega t)$$
Then this perturbation $u_f$ acts like an initial condition for your field which behaves according to its own eigenmodes $u_i$ for $i\in\mathbb{N}$.
We can also write $u_m$ the part of the solution comprised of all the eigenmodes, so $u_m=\sum_i u_i$. These modes are solutions of your equation for homogeneous BC, and you find the adapted IC by considering at a given time $t_0$ (usually the time where the first emitted wave reaches the scattering boundary, and where the system gets the "drum" behavior and the eigenmodes, so something like $t_0=L/c$), and look for $u_f(x,0)$ and $\partial_t u_f(x,0)$.
Then, writting $u$ as the sum $u=u_f+u_m=u_f+\sum_i u_i$, you have: $$u_m(x,t_0)=u(x,t_0)-u_f(x,t_0)$$ and $$\partial_t u_m(x,t_0)=\partial_t u(x,t_0)-\partial_t u_f(x,0)$$.
Since before $t_0$ the emitted wave is not scattered, it is only a propagated wave of the form $A\cos(\Omega(t-x/c))$, so you know it at $t_0$ together with its derivative. Then you have "IC" for $u_m$ at $t_0$, apply a time shift $t=T+t_0$ and then get the IC of your new problem at $T=0$, with homogeneous Dirichlet BC, and then apply separation of variables, Fourier series expansion, using the Fourier expansion of the IC, and identifying term by term, as explained in the answer before.
At then end you apply the reverse $T=t-t_0$ and write $u$ as the sum $$u=u_f+\sum_i u_i$$